passport-google-plus-token
passport-google-plus-token copied to clipboard
Refresh Token
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:
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
@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.