Amazon Cognito
Developer Guide

Adding a JavaScript App to Amazon Cognito User Pools

Amazon Cognito User Pools allow your applications to register and authenticate users. 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.