yet-another-nuxt-oauth2

1.0.8 • Public • Published

YANO : Yet another nuxt oauth2 module

Build Status

Codacy Badge Maintainability David Known Vulnerabilities

Downloads FOSSA Status

Features

  • Configuration by object or .well-known/openid-configuration
  • Full SSR compatible
  • JWT Tokens
  • Expiration/Refresh token

Grant type support

Grant
Authorization code
Implicit
Password
Device code

Module options

{
  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
}

How to use it

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

Package Sidebar

Install

npm i yet-another-nuxt-oauth2

Weekly Downloads

10

Version

1.0.8

License

MIT

Unpacked Size

17.9 kB

Total Files

12

Last publish

Collaborators

  • hugome