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

Use browser Visibility API to smart refresh JWTs #33

Open
mhsdef opened this issue May 18, 2020 · 0 comments
Open

Use browser Visibility API to smart refresh JWTs #33

mhsdef opened this issue May 18, 2020 · 0 comments

Comments

@mhsdef
Copy link
Contributor

mhsdef commented May 18, 2020

https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API

We should:

  1. Detect tab select back to us.
  2. Check JWT validity.
  3. Refresh if needed.
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