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

Refresh Token #132

Open
P4R4DiSi4C opened this issue Apr 25, 2018 · 1 comment
Open

Refresh Token #132

P4R4DiSi4C opened this issue Apr 25, 2018 · 1 comment

Comments

@P4R4DiSi4C
Copy link

Hello,

Im getting an access_token from my vue.js frontend that I send to my backend as the tutorial shows.
When it reaches the passport method, I have the access_token but the refresh_token is empty. How to manage this ?

VUE.JS:

image

image

image

Im planning to save this access_token on my database to be able to use it later by calling the calendar API with the user's access_token.
Though, I'll have issues when the token will be expired, how should I deal with that ?

Regards

@ghaiklor
Copy link
Owner

@P4R4DiSi4C you need to do login operation on your side again, or have refresh token and update the token manually. All this library does is gets the working token and do not provide any mechanism to refresh it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants