[GH-ISSUE #244] Support basic auth in deep links #194

Closed
opened 2026-05-07 00:21:18 +02:00 by BreizhHardware · 0 comments

Originally created by @Curid on GitHub (May 8, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/244

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>

Originally created by @Curid on GitHub (May 8, 2022). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/244 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>`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#194
No description provided.