Getting logged out in another window should trigger redirect to login #213
Labels
bug
Something isn't working
Effort: 8
Effort estimated at full day
front end
Involves changes to the front end (React) application and/or UI
good first issue
Good for newcomers
Projects
If I am logged in to ROHQ in one window, and in another window I log out, nothing happens on the original page to tell me that I have been logged out. However, when I click on anything, I get errors that might not make sense to an end user. For example, if I get logged out while sitting on the /manage page, then click on a queue, it gives me
Access Denied: You are not a host of this queue. If you believe you are seeing this message in error, contact the queue host(s).
BUT it still shows me as "logged in" if you look in the upper right--i.e. it shows my uniqname and not a Login button.The only way to get clarity on what is really going on and get the opportunity to login again is if I manually refresh the page.
Particularly bad if someone thinks they are in line and just waiting for the page to update to say it's their turn, or they are a host watching the queue waiting for someone to join, and they don't realize they've been logged out and thus the page isn't updating.
Ideal would be that getting logged out in another window causes the original window to redirect to Login, maybe with a red error message saying "You have been logged out. Please login again." or something.
The text was updated successfully, but these errors were encountered: