项目作者: jnabor

项目描述 :
AWS Cognito Authentication with Vue.js
高级语言: Vue
项目地址: git://github.com/jnabor/aws-cognito-vue.git
创建时间: 2018-02-11T01:41:06Z
项目社区:https://github.com/jnabor/aws-cognito-vue

开源协议:

下载


aws-cognito-vue

Note: This project has been depeciated and no longer maintained. Please refer to my new project https://github.com/sonabstudios/aws-cognito-attributes

AUTHENTICATION DEMO

Authentication with AWS Cognito using Vue.js

This is a boilerplate project for Vuejs applications using AWS cognito

Live Demo:

http://aws-cognito-demo.sonabstudios.com

email me know if you have some questions:
http://sonabstudios.com/

Features

  1. Sign Up
    • register with email and password
    • Confirmation code sent to email
    • Confirmation code verification
    • Custom workflow (via lambda)
    • SMS verification option
  2. Sign In
    • Authentication for verified users
    • Refresh token periodically
    • Custom workflow (via lambda)
  3. Sign Out
    • invalidate session
  4. Password Update
    • reset or change password
  5. Attributes
    • default: name, email, phone, etc.
    • custom: custom addresses, personal information, etc.
  6. Access Control
    • API Gateway
  7. User Pool
    • Administrators
    • User Management
    • User Groups
    • User Migration

Build Setup

add src/components/config.js file to contain the following:
export const poolData = {
UserPoolId: ‘‘,
ClientId: ‘
}

  1. # install dependencies
  2. $ npm install
  3. # serve with hot reload at localhost:3000
  4. $ npm run dev
  5. # build for production with minification
  6. npm run build
  7. # build for production and view the bundle analyzer report
  8. npm run build --report
  9. # run unit tests
  10. npm run unit
  11. # run e2e tests
  12. npm run e2e
  13. # run all tests
  14. npm test