[GH-ISSUE #1502] Web app doesn't prompt for auth in topic links #1059

Open
opened 2026-05-07 00:29:56 +02:00 by BreizhHardware · 1 comment

Originally created by @TheDcoder on GitHub (Nov 30, 2025).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1502

🐞 Describe the bug

The Web UI doesn't prompt for authentication when using topic links which directly subscribe to the given topic during launch (e.g. https://ntfy.example.com/mytopic).

Normally when you launch the web UI and manually attempt to subscribe to a private/access controlled channel you get asked to authenticate with your credentials, but if you launch the web app with the topic already filled in, the topic never "connects" and keeps spinning as if it's stuck.

The same thing happens even when you try to subscribe to another topic manually.

💻 Components impacted

Web app

💡 Screenshots and/or logs

Image

Manual subscription calls the <topic>/auth endpoint first but auto subscription always calls <topic>/ws and <topic>/json, therefore I think this is a simple logic error in the web app.

Originally created by @TheDcoder on GitHub (Nov 30, 2025). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1502 :lady_beetle: **Describe the bug** <!-- A clear and concise description of the problem. --> The Web UI doesn't prompt for authentication when using topic links which directly subscribe to the given topic during launch (e.g. `https://ntfy.example.com/mytopic`). Normally when you launch the web UI and manually attempt to subscribe to a private/access controlled channel you get asked to authenticate with your credentials, but if you launch the web app with the topic already filled in, the topic never "connects" and keeps spinning as if it's stuck. The same thing happens even when you try to subscribe to another topic manually. :computer: **Components impacted** Web app :bulb: **Screenshots and/or logs** <img width="411" height="201" alt="Image" src="https://github.com/user-attachments/assets/9573be03-5b4f-4627-951a-3f144e039968" /> Manual subscription calls the `<topic>/auth` endpoint first but auto subscription always calls `<topic>/ws` and `<topic>/json`, therefore I think this is a simple logic error in the web app.
Author
Owner

@binwiederhier commented on GitHub (Jan 18, 2026):

Good find.

<!-- gh-comment-id:3765387999 --> @binwiederhier commented on GitHub (Jan 18, 2026): Good find.
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#1059
No description provided.