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 Feb 24, 2018. It is now read-only.
In my app, I make a call to getSession if the user refreshes the page or tries to access a client side rout that requires the user to be authenticated.
The problem I am seeing is that the refreshToken never expires.
But having stepped through the code and if the cachedSession.isValid() call returns false then a call is made to refreshToken which always appears to return new tokens no matter how long I leave it.
Does the refreshToken never expire or can I configure it to expire in an hour or so?
The only way for things to expire is for localStorage.clear() to be called which is obviously not a real solution.
The text was updated successfully, but these errors were encountered:
dagda1
changed the title
refreshtoken is never expires
configure refreshToken expiration
Feb 21, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In my app, I make a call to
getSession
if the user refreshes the page or tries to access a client side rout that requires the user to be authenticated.The problem I am seeing is that the refreshToken never expires.
So I do this:
But having stepped through the code and if the
cachedSession.isValid()
call returns false then a call is made torefreshToken
which always appears to return new tokens no matter how long I leave it.Does the refreshToken never expire or can I configure it to expire in an hour or so?
The only way for things to expire is for localStorage.clear() to be called which is obviously not a real solution.
The text was updated successfully, but these errors were encountered: