Tuesday, 30 May 2017

what is the best way to store and manage a refresh token in nodejs app?

I would like to know the best way to manage and store refresh token. I am building an app where i need to access a data API continuously even when the user is not logged in . So, should I use a database like MongoDB or redis and also what is the best way to manage refresh token and access tokens. For example how do i routinely refresh my access token.Are there any services to accomplish this task. Any node modules?

Thank You,



via uman

No comments:

Post a Comment