ntfy icon indicating copy to clipboard operation
ntfy copied to clipboard

Support providing authentication details when using ntfy:// links

Open laundmo opened this issue 2 years ago • 5 comments

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:

  • UI popup asking for username/password when a ntfy:// link to a protected topic is used
  • ability to provide username/password inside a ntfy:// link (preferred)

Thank you for this project.

laundmo avatar Feb 01 '23 13:02 laundmo

Therefore, users could scan a QR code to subscribe 📱 Making ntfy more accessible to end users will drive adoption 😎

piwi82 avatar Feb 06 '23 14:02 piwi82

theres a PR for QR codes on android over at https://github.com/binwiederhier/ntfy-android/pull/67

dgtlmoon avatar Nov 21 '23 17:11 dgtlmoon

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:

example

Once this is in place, the officials can make their users' life so much easier in lots of annoying "in-real-world" scenarios:

  • tracking a mail delivery
  • tracking visa application process
  • queueing in a hospital/bank/etc
  • waiting for the order in McDonalds (QR code can be on a receipt)

vovayartsev avatar Dec 26 '23 23:12 vovayartsev

This would be a great feature!

FAUSheppy avatar Feb 14 '24 11:02 FAUSheppy

@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?

laundmo avatar Aug 01 '24 14:08 laundmo