Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Page not reloaded on logout in another tab #379

Closed
ShauniArima opened this issue Mar 15, 2018 · 7 comments · Fixed by #384
Closed

Page not reloaded on logout in another tab #379

ShauniArima opened this issue Mar 15, 2018 · 7 comments · Fixed by #384

Comments

@ShauniArima
Copy link

When the storageChangedReload is set to true in the config file. There is no reload of pages that are opened in other tabs.
Is it possible to reload all the tabs on a logout() event?

@RWOverdijk
Copy link
Member

@ShauniArima Not that I'm aware of. I know someone did something similar, but I can't remember the outcome.

@ShauniArima
Copy link
Author

@RWOverdijk It seems like storage events are not triggered when the logout() remove the key in the storage...

@RWOverdijk
Copy link
Member

Interesting. The next click should log the user out though, right?

@ShauniArima
Copy link
Author

Yes the logout works fine but the others tabs are not reloaded. The user is redirected to the login page on the next token refresh.

@RWOverdijk
Copy link
Member

Hm... If you find an answer to this, please do share.

@ShauniArima
Copy link
Author

Yes, I will investigate. Thanks for your help!

@doktordirk
Copy link
Contributor

doktordirk commented Apr 27, 2018

the fix of #327 causes this. the problem here was actually anticipated. maybe we'll find a better fix for #327

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants