0.0.12 • Published 3 years ago

@a1ter/nuxt-auth-aws-cognito-scheme v0.0.12

Weekly downloads
17
License
ISC
Repository
bitbucket
Last release
3 years ago

just test

# nuxt.config.js

export default {
  mode: 'universal',

  modules: [
      '@nuxtjs/axios',
      '@nuxtjs/auth-next'
  ],

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

  axios: {
		baseURL: process.env.BASE_API_URL
	},

  auth: {
    strategies: {
      cognito: {
        scheme: '@a1ter/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
        }
      }
    }
  }
}
0.0.12

3 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago