sone-nuxt-module-auth
v0.1.2
Published
S1 Nuxt module for auth
Downloads
3
Readme
S1 Nuxt Module auth
Install
npm i --save sone-nuxt-module-auth
Usage
Add module to nuxt.config.js
module.exports = {
modules: [
...
['sone-nuxt-module-auth', {
oidc: {
authority: 'https://your.authority.com',
client_id: 'your-client-id',
redirect_uri: 'https://appurl/callback',
scope: 'openid profile',
silent_redirect_uri: 'https://appurl/callback',
post_logout_redirect_uri: 'https://appurl/logout',
response_type: 'id_token token',
loadUserInfo: false
}
}]
]
}