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

[UX]: Login link to an nonexistent resource flow #225

Open
4 tasks
mountainash opened this issue Oct 23, 2024 · 0 comments
Open
4 tasks

[UX]: Login link to an nonexistent resource flow #225

mountainash opened this issue Oct 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mountainash
Copy link

When following a link like https://getcockpit.dev/cockpit/auth/login?to=/pages/page/657725a21f796d45730a9612 (from an email or IM), if your session is expired, you'll get a login screen. When you attempt to login... the following error shows briefly, and then shows the login form again (even though correct login details were given). This leaves the user is a confused state, where a login screen is shown, yet you can't login. If you don't see the URL, you aren't aware of why - also if you then manually change the URL to https://getcockpit.dev/cockpit/auth/ you'll get a 404

Requested resource is not available

Options:

  • the error can be missed [scrolled down on a small screen, slow connection, etc.] (make it stay until the user dismisses it)
  • log the user in, create a session
  • [suggested UX] load the dashboard (then show the error)
  • add a redirect to /auth/login from /auth(/)? if the user session doesn't exist, else redirect to the default logged in URL [Dashboard?]
@aheinze aheinze added the enhancement New feature or request label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants