Menu
Amazon Cognito
Developer Guide

Setting Up Your JavaScript Application to Work with User Pools

To add user pools to your JavaScript-based web application you can use the AWS Amplify Library for Web which includes the Amazon Cognito Identity Provider. Amazon Cognito allows your applications to register and authenticate users. You can change passwords for authenticated users and initiate forgotten password flows for unauthenticated users.

The AWS Amplify Library provides a declarative and easy way to work with Amazon Cognito. For more information see Set Up the AWS Amplify Library for Web.

See also AWS Amplify Library Authentication Guide.

Alternatively, you can use the legacy Amazon Cognito Identity SDK for JavaScript, but we recommend AWS Amplify. See Legacy Amazon Cognito Identity SDK for JavaScript.