Amazon Cognito
Developer Guide

Adding a JavaScript App to Amazon Cognito User Pools

With Amazon Cognito user pools, you can enable your web and mobile app users to sign up and sign in. You can change passwords for authenticated users and initiate forgotten password flows for unauthenticated users. The following section provides setup information and examples so you can use the Amazon Cognito Identity Provider to retrieve and update user pool profiles.

Add user pools to your JavaScript-based web applications with the AWS Amplify Library for Web which includes the Amazon Cognito Identity Provider. For more information see Set Up the AWS Amplify Library for Web. See also the AWS Amplify Library Authentication Guide.