In this recipe, we will see user creation by an administrator as well as user creation through self-signup.
User creation and user signups
Getting ready
Create a user pool with a default configuration on the basis of the Creating Amazon Cognito user pools recipe. Steps to create a user pool from the CLI are provided with code files. I have created a user pool with default configurations and its ID is us-east-1_Q1cydt6I0. Replace it with your ID within the recipe.
For user signups with self approval, we need a user pool with email verification. I have created a user pool from the CLI with email verification, as discussed within the There's more section of the Creating Amazon Cognito user pools recipe, with the ID us...