Skip to content
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

Closed
2rohith2 opened this issue Oct 3, 2017 · 1 comment
Closed

How to implement Refresh Tokens? #412

2rohith2 opened this issue Oct 3, 2017 · 1 comment
Labels

Comments

@2rohith2
Copy link

2rohith2 commented Oct 3, 2017

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 with JWT 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 in NodeJs.

Could it be possible to use another JWT token as refresh token with more expires time?

@ziluvatar
Copy link
Contributor

@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
Labels
Projects
None yet
Development

No branches or pull requests

2 participants