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

[BUG]: Admin UI got error when the session expires and the user tries to login again. It enters in an infinite auth loop. #2840

Open
Emanuel-Palestino opened this issue Aug 5, 2024 · 2 comments
Labels
type: bug Something isn't working

Comments

@Emanuel-Palestino
Copy link
Contributor

Bug Report

Describe the bug

When the session at the Admin UI expires, appears the welcome page to login again. If the user tries to login again using the welcome page that appears in the interface, it gets a 404 error.
Then if the user click the Go to homepage button, it's redirected to root auth page, so if the user tries to login, it gets the 404 error over again.

To Reproduce

Important: Don't reload the page at any time.

  1. Run the rafiki instance
  2. Go to Admin UI and login
  3. Using the developer tools of your browser, delete the page cookies. (This is made in order to simulate the session expiration).
  4. Now, try to move to another section (wallets, peers, wallet details, etc).
  5. Try to login again, using always the buttons that appears in the interface.
  6. You will enter in the auth loop.

Screenshots

  1. Session expired, welcome page appears.
    image
  2. You try to login again, you got the 404 error.
    image
  3. If you try to go to homepage and login, you got the same error.
    image

I think this is not a correct behavior. The user should be able to login again without the need of reload the page.

@Emanuel-Palestino Emanuel-Palestino added the type: bug Something isn't working label Aug 5, 2024
@golobitch
Copy link
Collaborator

What version of rafiki-frontend are you running?

@Emanuel-Palestino
Copy link
Contributor Author

Emanuel-Palestino commented Aug 6, 2024

I am running the v1.0.0-alpha.15 of rafiki c:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

2 participants