-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
🐞 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
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.