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
I solved that problem by invoking userManager.signinSilent() in the reducer on the USER_EXPIRED action.
In order to save user data between sessions I changed sessionStorage to localStorage by adding userStore: new WebStorageStateStore({ store: localStorage}) to userManagerConfig
@glossd I've been trying to get silent renew to work and ran across your solution. I added the signinSilent() call when the user expires but something isn't working quite right. I have some questions:
Do you have a silent_renew URI defined and how did you implement it?
Do you use the signinSilent().then() method and what do you do in it?
If I change time to something like 5 minutes till token expiration, it auto renews token
if I leave page open for 1 hour or so, it silently passes expiration time and no token renew happens
The text was updated successfully, but these errors were encountered: