SohoHouse / nuxt-oauth

Simple OAuth2 integration for your Nuxt app
MIT License
123 stars 27 forks source link

Token expiration time is not updated when access token is refreshed #35

Open vroad opened 5 years ago

vroad commented 5 years ago

You should update expiration time as well, not only access token and refresh token. This would cause token refresh every time route is changed.

https://github.com/SohoHouse/nuxt-oauth/blob/v2.0.1/lib/handler.js#L110-L111