hands-on lab

Manage Authentication with Amazon Cognito

Intermediate
1h
6,404
4.6/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

Amazon Cognito is an offering from Amazon Web Services that you can use to manage user accounts. It provides authentication and authorization as well as enabling integration with Security Assertion Markup Language (SAML) and OpenID Connect (OIDC) compatible identity providers.

In this hands-on lab, you will use the Amazon Web Services Management Console to create users, register an application with Amazon Cognito, and test user authentication.

Learning objectives

Upon completion of this lab you will be able to:

  • Create a Cognito User Pool, and configure it with various policies
  • Create a job to Import users into a User Pool
  • Manually add users into the User Pool
  • Use the AWS SDK to authenticate users

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Amazon Web Services Management Console
  • Amazon Cognito

The following course can be used to fulfill the prerequisites:

Environment

After completing the lab instructions the environment should look similar to:

 

 

Updates

February 16th, 2024 - Updated some instructions and screenshots to reflect the latest user interface changes

January 30th, 2023 - Updated the instructions and screenshots to reflect the latest UI

April 22nd, 2022 - Updated web app in accordance with API change

November 2nd, 2020 - Updated instructions and screenshots to match the updated user interface

January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab

 
About the author
Students
79,029
Labs
8

Greg has been a consistent high performer for pioneering technologies in the wireless web industries with an illustrious career that is a testament to his breadth of knowledge. Dabbling with MS Azure, at Cloud Academy, Greg really thrives on evangelizing the benefits of Amazon Web Services. A dedicated and passionate professional who learns new and emerging technologies quickly, Greg always ensures the highest quality and caliber of everything he produces.

Covered topics
Lab steps
Logging In to the Amazon Web Services Console
Creating a User Pool
Importing Users to a User Pool
Manually Adding Users to the User Pool
Authenticating using the AWS JavaScript SDK