jaredhanson / passport-oauth2

OAuth 2.0 authentication strategy for Passport and Node.js.
https://www.passportjs.org/packages/passport-oauth2/?utm_source=github&utm_medium=referral&utm_campaign=passport-oauth2&utm_content=about
MIT License
606 stars 343 forks source link

Refresh access token? #77

Open joonhocho opened 7 years ago

joonhocho commented 7 years ago

Should it automatically get new access token using refresh token when access token is expired? Or at least provide an API to do so?

joh-klein commented 7 years ago

You can use https://github.com/fiznool/passport-oauth2-refresh for this.