Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(oauth2 scheme): unset baseURL in refreshTokens (#939)
While _handleCallback has unset the baseURL when calling the token endpoint, refreshTokens currently uses the existing Axios baseURL. This causes issues in cases where addAuthorize was used (i.e. the github strategy) as the new token endpoint becomes a relative URL pointing to the Nuxt server middleware.
- Loading branch information