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

wrong user and no user #205

Open
gsantopaolo opened this issue Jun 7, 2024 · 0 comments
Open

wrong user and no user #205

gsantopaolo opened this issue Jun 7, 2024 · 0 comments
Assignees
Labels
bug Something isn't working frontend Frontend issue

Comments

@gsantopaolo
Copy link
Contributor

The application is using the JWT token from the previous connection.
On the server, the database has been cleared out for security reasons.
The client receives several of these errors

{"status":401,"error":"wrong user","original_error":"can not find user"}

In this case (cannot find user) the UI shall redirect to the login page without showing the error to the user eventually an information message saying "you are being redirected to the home page"

The access token shall be deleted from local storage and a new login process shall happen without any error

image

@gsantopaolo gsantopaolo added bug Something isn't working frontend Frontend issue labels Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Frontend issue
Projects
None yet
Development

No branches or pull requests

2 participants