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
Hi,
I wondered if there was a pattern for persisting login credentials on the client so that the user doesn't have to re-enter credentials.
I'm persisting the JWT Token, and then refreshing upon login, but that will obviously only work for validFor seconds, after which time the request request will be rejected.
Thanks
The text was updated successfully, but these errors were encountered:
You can store the jwt tokens in anywhere you want and then when someone try to login you can just check whether the token is expired or not, if not, you can pass the login page, if expired you can redirect the user to login and after succesfull login you can update the token. is this what you want or I misunderstood ?
Hi,
I wondered if there was a pattern for persisting login credentials on the client so that the user doesn't have to re-enter credentials.
I'm persisting the JWT Token, and then refreshing upon login, but that will obviously only work for
validFor
seconds, after which time the request request will be rejected.Thanks
The text was updated successfully, but these errors were encountered: