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

Reduce the time spent re-logging in by improving the 401 - unauthorized page #816

Open
tomitheninja opened this issue Aug 5, 2021 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers low priority No hurry, this can wait. UI / UX Affects the UI and UX of app

Comments

@tomitheninja
Copy link
Contributor

When not visiting the page for some time, it will log out the user.
When an unidentified user (one who is not logged in) clicks on link, which would forward them to the page, which requires authentication, they see this page:
unauthorized

I think that the login button is far away and for veteran users it can be confusing that the website requires too much interaction from them to open the page they want to visit.

@tomitheninja tomitheninja changed the title Show an additional login button on the 401 - unauthorized page Reduce the time spent re-logging in by improving the 401 - unauthorized page Aug 5, 2021
@tomitheninja
Copy link
Contributor Author

I first thought about auto-forwarding the user to the schauth page and then back to the requested page.
However @triszt4n suggested that new users would be confused if they were forwarded to the schauth page without any notice.

@tomitheninja
Copy link
Contributor Author

tomitheninja commented Aug 5, 2021

So I am thinking about putting an additional login form above the cat picture, so it would require cursor movement to log in.

Maybe this form also could have an "auto-login" button, that creates a cookie on the users computer, so when their keys expire, they can skip this page all together.

Or we could store auth information in a JsonWebToken (JWT), so it would not expire that often.

@tomitheninja tomitheninja added enhancement New feature or request good first issue Good for newcomers low priority No hurry, this can wait. UI / UX Affects the UI and UX of app labels Aug 5, 2021
@radl97
Copy link

radl97 commented May 4, 2022

I wanted to send the same issue. On mobile platforms, the login button is not visible (it is collapsed).

I think a big red button would be nice (and easy to implement?) for starters. I would appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers low priority No hurry, this can wait. UI / UX Affects the UI and UX of app
Projects
None yet
Development

No branches or pull requests

2 participants