- Configuration by object or
.well-known/openid-configuration
- Full SSR compatible
- JWT Tokens
- Expiration/Refresh token
Grant | |
---|---|
Authorization code | ✓ |
Implicit | ✓ |
Password | ✓ |
Device code |
{
endpoints: {
authorization_endpoint: 'http://auth.server/authorization',
token_endpoint: 'http://auth.server/token'
userinfo_endpoint: 'http://auth.server/userinfo'
}, // Object or 'http://auth.my.server/.well-known/openid-configuration'
router: false // Auto add auth middleware to the router
}
If you want a great open source auth/IAM server : https://www.keycloak.org/ (This one is 🎆)
/!\ Store need to be enable (See https://nuxtjs.org/guide/vuex-store/#activate-the-store) /!\
// TODO