UI doesn't redirect to login when session expires #1620
Labels
bug
Something isn't working
good first issue
Good for newcomers
hacktoberfest
help wanted
Extra attention is needed
Bug description 🐞
When the user session expires (UI+DEX GitHub), the UI stops loading resources, and the loading spinner is there forever.
Steps to reproduce
Wait until your login expires (a few days, I believe) and try to load a workspace (as an example). You'll notice no resources are loaded. Even after refreshing the page as many times as you want.
Then logout and login again, and everything works again.
Expected behavior
Instead of displaying the loading spinner forever, I expect the UI to detect the expired session (API error, I believe) and redirect me to the login page. On top, renewing the session each time is used could be useful too.
Example repository
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: