New issue

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

Page not reloaded on logout in another tab #379

Closed
ShauniArima opened this Issue Mar 15, 2018 · 7 comments

Comments

Projects
None yet
3 participants
@ShauniArima

ShauniArima commented Mar 15, 2018

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

This comment has been minimized.

Member

RWOverdijk commented Mar 15, 2018

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

@ShauniArima

This comment has been minimized.

ShauniArima commented Mar 15, 2018

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

@RWOverdijk

This comment has been minimized.

Member

RWOverdijk commented Mar 15, 2018

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

@ShauniArima

This comment has been minimized.

ShauniArima commented Mar 15, 2018

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

This comment has been minimized.

Member

RWOverdijk commented Mar 16, 2018

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

@ShauniArima

This comment has been minimized.

ShauniArima commented Mar 16, 2018

Yes, I will investigate. Thanks for your help!

@doktordirk

This comment has been minimized.

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 join this conversation on GitHub. Already have an account? Sign in to comment