amazon-archives / aws-cognito-angular-quickstart

An Angular(v5)-based QuickStart single-page app utilizing Amazon Cognito, S3, and DynamoDB (Serverless architecture)
https://cognito.budilov.com
Apache License 2.0
689 stars 302 forks source link

support Authentication Flow for Users Created by Administrators or Developers #67

Closed greendavegreen closed 7 years ago

greendavegreen commented 7 years ago

This AWS doc page details the flow for logging in users created by Administrators (which returns NEW_PASSWORD_REQUIRED on first login), and the user must initiate a password change before being allowed to log in.

currently, the quickstart supports self-signup well to get groups up and running, but does not have support for the callback/ui of the alternate login flow.

It would be great to support this alternate login flow. The quickstart would be much more valuable to groups wishing to set up administrtor managed pools of users.

vbudilov commented 7 years ago

Hi @greendavegreen ,

Adding this isn't on the roadmap as of yet, but feel free to do a PR if you'd like.

greendavegreen commented 7 years ago

It might take a while, but if I get to a working password change component that can be used to support manually created accounts, I will be happy to bundle it up as a PR for the project.

vbudilov commented 7 years ago

https://github.com/awslabs/aws-cognito-angular2-quickstart/pull/71