Files
nuxt-oauth/UPGRADE.md
René Preuß 734b495ec0 Make options optional
Revert default routes
Update documentation
2023-04-08 18:26:18 +02:00

14 lines
470 B
Markdown

# Upgrade Guide
## General Notes
## Upgrading To 2.0 From 1.x
### Changing default response type to `code`
OAuth 2 Implicit Grant Token authentication
is [not recommended](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-security-topics) anymore. If you still
want to use the `token` response type, you need to set it explicitly with `responseType: 'token'` in the
`oauth` configuration. Otherwise, you will use Authorization Code Grant with PKCE by default.