mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #808] Authencation support #572
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#572
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @johnlpe on GitHub (Jul 5, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/808
Add support for authencation between application service -- ntfy instance and ntfy instace -- ntfy client.
@binwiederhier commented on GitHub (Jul 5, 2023):
The GitHub issues have a template format for a reason. Please use it next time.
With these one sentence tickets, it's very hard to understand what you are even talking about. Please be more verbose.
ntfy has a sophisticated auth framework, see: https://docs.ntfy.sh/config/#access-control
@johnlpe commented on GitHub (Jul 5, 2023):
Now notification aren't password protected and you have to order topics. I want something like this:
I want to use mastodon.social and push notifications via ntfy.sh. I have installed Tusky and ntfy-client.
username: example,passwowd: passoword1and set follows for the application services (one for all or own for each)username: example,password: password2.URL: ntfy.sh,username: example,password: password2.Then when mastodon.social want send push notification to my device:
ntfy.sh, example, password2.@wunter8 commented on GitHub (Jul 5, 2023):
It sounds like you're describing what UnifiedPush already does. And Tusky specifically already supports UnifiedPush with ntfy (https://github.com/tuskyapp/faq/blob/main/README.md#notifications)
@johnlpe commented on GitHub (Jul 5, 2023):
Of course, ntfy is specifically UnifiedPush notification software (right?), but the problem is lack of authentication.
@wunter8 commented on GitHub (Jul 5, 2023):
ntfy supports UnifiedPush, but it can be (and often is) used without it.
When using UnifiedPush, a randomly generated ntfy topic (e.g., ntfy.sh/upbAfzAoFdCg99) is created that is used for all messages. Messages are "authenticated" by knowing the randomly generated topic. It is (practically speaking) as secure as a username/password combo.
To send/receive messages, you're talking about requiring a secret username/password combo that only you and Tusky know. ntfy/UnifiedPush is set up instead to require a secret topic that only you and Tusky know.
@johnlpe commented on GitHub (Jul 5, 2023):
Why? I think UnifiedPush is the future.
Could we use username/password? And someone says that ntfy notifications is public?
Do you mean the mastodon instance and ntfy? Since mastodon instance like mastodon.social sends my notifications and Tusky is only client.
@binwiederhier commented on GitHub (Jul 5, 2023):
My friend. Respectfully, I think you should do a little research and find out what ntfy actually is. And maybe check your manners in the process.
The UnifiedPush spec does not support this. The endpoint is the password.
--
Side note: You have opened many tickets and tried to push your agenda on this project. I am very very receptive to suggestions, as long as it is done in a respectful way. Ultimately, as project owner, though, I get to say "no" when I want to, or I don't agree with what you'd like to do. This is an open source piece of software, so you can always fork it if you don't like that.
@johnlpe commented on GitHub (Jul 9, 2023):
"ntfy (pronounced notify) is a simple HTTP-based pub-sub notification service."
Yes, ntfy is publish-subscribe notification service, but is it reason to not support push notifications? And why do you think the pub-sub model is better?
Sorry if I pressed, I didn't mean to. OFC you must have able to say no.