GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
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?
@ShauniArima Not that I'm aware of. I know someone did something similar, but I can't remember the outcome.
@RWOverdijk It seems like storage events are not triggered when the logout() remove the key in the storage...
Interesting. The next click should log the user out though, right?
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.
Hm... If you find an answer to this, please do share.
Yes, I will investigate. Thanks for your help!
the fix of #327 causes this. the problem here was actually anticipated. maybe we'll find a better fix for #327
fix(authService): detect logout events in different tabs when using a…
…utoupdate of tokens.