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.
Run the rafiki instance
Go to Admin UI and login
Using the developer tools of your browser, delete the page cookies. (This is made in order to simulate the session expiration).
Now, try to move to another section (wallets, peers, wallet details, etc).
Try to login again, using always the buttons that appears in the interface.
You will enter in the auth loop.
Screenshots
Session expired, welcome page appears.
You try to login again, you got the 404 error.
If you try to go to homepage and login, you got the same error.
I think this is not a correct behavior. The user should be able to login again without the need of reload the page.
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 rootauth
page, so if the user tries to login, it gets the 404 error over again.To Reproduce
Screenshots
I think this is not a correct behavior. The user should be able to login again without the need of reload the page.