Skip to content

Web app doesn't prompt for auth in topic links #1502

@TheDcoder

Description

@TheDcoder

🐞 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🪲 bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions