mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #597] Support providing authentication details when using ntfy:// links #451
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#451
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 @laundmo on GitHub (Feb 1, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/597
We'd like to use ntfy to notify end users, but getting them to configure the app is a lot of work to explain and get users to do.
Therefore, it would be really convenient to be able to provide users with ntfy:// links, which include the authentication details needed to actually subscribe to the topic.
Currently, if we use a ntfy:// link to a protected topic, it will register fine and will be stuck on
reconnecting...constantly.Proposed solutions:
Thank you for this project.
@piwi82 commented on GitHub (Feb 6, 2023):
Therefore, users could scan a QR code to subscribe 📱
Making ntfy more accessible to end users will drive adoption 😎
@dgtlmoon commented on GitHub (Nov 21, 2023):
theres a PR for QR codes on android over at https://github.com/binwiederhier/ntfy-android/pull/67
@vovayartsev commented on GitHub (Dec 26, 2023):
A very wanted feature indeed!
💯 this great app could be used as a general reminder not only by technical users - if only the subscription setup was as easy as "scan the QR code".
Adding Deferred Deep Linking could automate the entire setup process to just 1 step:
Once this is in place, the officials can make their users' life so much easier in lots of annoying "in-real-world" scenarios:
@FAUSheppy commented on GitHub (Feb 14, 2024):
This would be a great feature!
@laundmo commented on GitHub (Aug 1, 2024):
@binwiederhier I would like to potentially add this feature, but spending the time to PR this hinges on whether you would accept a PR for it. Do you have any theoretical concerns with this feature?
@Max-Github commented on GitHub (Mar 7, 2025):
I would be happy to also spend some time on this feature if the merge would considered.
@binwiederhier commented on GitHub (Dec 30, 2025):
This is very easy to add, but do people really want the ability to add username and password in a QR code? That seems like a recipe for disaster.
ntfy://ntfy.sh/mytopic?username=phil&password=ThisSeemsSafe@laundmo commented on GitHub (Dec 30, 2025):
Yes(ish)
Its a better solution than having to teach non-technical users how to use ntfy, but the best solution that isn't unsafe would probably be single-use links. But that requires the app communicate with the server, and the server to expose a new unauthenticated endpoint.
Really, some way of making it easier for non-technical users to set up their phone to recieve private ntfy notifications would be great.
@binwiederhier commented on GitHub (Dec 30, 2025):
Never in a million years would I have thought that non-technical users would want to use ntfy when I started making it. ntfy is about as nerdy as it gets, haha.
I get it though. It's not the first time I've heard it.
The ntfy:// links are pretty terrible to be honest, because if you don't have the app installed and you scan a QR code, it'll not work at all. I am toying with the idea of making a page "https://link.ntfy.sh/#subscribe=..." that will display steps of what to do, so that you can scan it with your normal camera and if you have the app, ntfy will open and subscribe, but if you don't it'll show instructions.
@laundmo commented on GitHub (Dec 30, 2025):
Well, want is relative. We want to direct our users away from using messangers as push notification platforms, and ntfy is a great alternative.
That would be amazing!