0.0.6 • Published 4 years ago

nuxt-auth-aws-cognito-scheme v0.0.6

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
4 years ago

just test

# nuxt.config.js
modules: [
    '@nuxtjs/axios',
    '@nuxtjs/auth-next'
],

build: {
    transpile: ['@nuxtjs/auth-next']
},

auth: {
    strategies: {
      cognito: {
        scheme: 'nuxt-auth-aws-cognito-scheme/scheme/scheme',
        credentials: {
          userPoolId: process.env.COGNITO_USER_POOL_ID,
          userPoolWebClientId: process.env.COGNITO_USER_POOL_WEB_CLIENT_ID,
          region: process.env.COGNITO_REGION
        }
      }
    }
}