This is a fully functional Angular 6 Demo App with AWS Cognito login.
git clone https://github.com/tensult/ngx-cognito-login.git
cd ngx-cognito-login
npm install
ng serve
Once app is successfully started: open http://localhost:4200/ in your browser
- Create cognito user pool.
- Create cognito identity pool and associate with user pool.
- Update src/app/auth/config.ts accordingly.