Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/login page with "no authentication" in server config is a dead end, no way to get back to product list #4310

Open
whisperity opened this issue Aug 10, 2024 · 0 comments
Labels
bug 🐛 GUI 🎨 web 🌍 Related to the web app

Comments

@whisperity
Copy link
Member

Describe the bug
If a server is started by default with no authentication enabled, the login page is still rendered, but there is no way to get out of it without manually editing the URL: no entry in the form gets you to log in, not even the superuser.

CodeChecker version
22cada3

To Reproduce
Steps to reproduce the behaviour:

  1. CodeChecker server
  2. Take note of the generated superuser info.
  3. firefox http://localhost:8001/login (simulating access from a bookmark, or from browsing history)
  4. Try logging in with the superuser info.
  5. "Invalid credentials!" message.

To get back to the server, the URL must be manually edited.

Notably, the CodeChecker icon at the top appears to be clickable, when clicked, it does the ripple effect, but unlike most websites (e.g., GitHub), it does not lead back to the mainest of main pages.

Expected behaviour
The log in UI queries the API whether authentication is needed, and, if not, redirects automatically to the main page.

Desktop (please complete the following information)

  • OS: Ubuntu 20.04.6
  • Browser: Firefox
  • Version: 118.0.2
@whisperity whisperity added bug 🐛 GUI 🎨 web 🌍 Related to the web app labels Aug 10, 2024
@whisperity whisperity changed the title /login page with no authentication results in no possibility to log in /login page with "no authentication" in server config is a dead end, no way to get back to product list Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 GUI 🎨 web 🌍 Related to the web app
Projects
None yet
Development

No branches or pull requests

1 participant