-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
How to implement Refresh Tokens? #412
Labels
Comments
@2rohith2 since we got some questions related, not sure if you are referring to refresh tokens in OAuth sense or how to refresh a token (extend the expiration).
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Team,
I have read multiple blogs and code snippets, which will describe what is the use-case of
refresh token
but none describe how to implement it.I am using
NodeJs
,ExpressJs
withJWT
as a token mechanism, everything is working fine but the problem starts when the token is expired.I have set the token which expires in
5m
, the user has to login again?I know how
refresh tokens
works but how to implement it inNodeJs
.Could it be possible to use another
JWT
token as refresh token with more expires time?The text was updated successfully, but these errors were encountered: