aws-cognito-vue
https://github.com/sonabstudios/aws-cognito-attributes
Note: This project has been depeciated and no longer maintained. Please refer to my new projectAUTHENTICATION 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
- Sign Up
- register with email and password
- Confirmation code sent to email
- Confirmation code verification
- Custom workflow (via lambda)
- SMS verification option
- Sign In
- Authentication for verified users
- Refresh token periodically
- Custom workflow (via lambda)
- Sign Out
- invalidate session
- Password Update
- reset or change password
- Attributes
- default: name, email, phone, etc.
- custom: custom addresses, personal information, etc.
- Access Control
- API Gateway
- 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: '' }
# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test