ntfy icon indicating copy to clipboard operation
ntfy copied to clipboard

Support basic auth in deep links

Open Curid opened this issue 2 years ago • 0 comments

Deep links allow people to subscribe to topics by clicking links in other apps/browsers.

Use case

I have a web app with a embedded ntfy server. The users subscribe to alerts by clicking a link that opens the ntfy app. Right now the user has to enter the username and password manually.

Including the credentials in the deep link would make it practical to generate a new unique password for each subscription instead of using the same password as the main app.

Something like this ntfy://<host>/<topic>?u=<username>&p=<password> or you could base64 encode it ntfy://<host>/<topic>?k=<key>

Curid avatar May 08 '22 19:05 Curid