Skip to content
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

When syncing tabs (session store), schedule of the refresh token should be updated #2416

Open
josemarluedke opened this issue May 20, 2022 · 0 comments

Comments

@josemarluedke
Copy link
Contributor

When having multiple tabs open, each tab tracks when it needs to refresh the token. When one of the tabs refresh it, other tabs get the new values, however, they are still scheduled to fresh its original token. This behavior can lead to using old tokens to request new tokens depending on timing.

My suggestion is to reset the scheduled refresh token when the session data is updated across tabs (adaptive store, local storage, cookies).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant