Manage Authentication with Amazon Cognito

Lab Steps

lock
Logging in to the Amazon Web Services Console
lock
Creating a User Pool
lock
Importing Users to a User Pool
lock
Manually Adding Users to the User Pool
lock
Authenticating using the AWS JavaScript SDK

Ready for the real environment experience?

DifficultyIntermediate
Time Limit1h
Students4945
Ratings
4.7/5
starstarstarstarstar-half

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 integrations with SAML and 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

You should be familiar with:

  • Amazon Web Services Management Console
  • Although not required, familiarity with JavaScript and SDKs is preferred
  • A basic understanding of GitHub is also helpful

Environment

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

 

 

Updates

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

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.