You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.
This is more of a question than a bug. I'm using ngIdle keepalive service to refresh a user token from time to time. But when using multiple tabs, the keepalive event and the ping is triggered for each tab, making me refresh my token unecessarly.
This library does avoid IndleWarn events by using localStorage, should it do the same with Keepalive? Or should I manually use localStorage to save a "lastRefreshAt" or something like to that, and verify it's value before performing the refresh?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is more of a question than a bug. I'm using ngIdle keepalive service to refresh a user token from time to time. But when using multiple tabs, the keepalive event and the ping is triggered for each tab, making me refresh my token unecessarly.
This library does avoid IndleWarn events by using localStorage, should it do the same with Keepalive? Or should I manually use localStorage to save a "lastRefreshAt" or something like to that, and verify it's value before performing the refresh?
The text was updated successfully, but these errors were encountered: