Beginner's Guide: Amazon Cognito
How to use the User Pools in the Amazon Cognito
How to create a User pools
Login to "AWS Management Console" Go to "Amazon Cognito".
Click the button "User pools" Click the button "Create user pool".
Case 1. Just for the Cognito user pool
Step 1. Configure sign-in experience
- Check the box "Email" in the paragraph "Cognito user pool sign-in options" Click the button "Next".
Step 2. Configure security requirements
Select the box "Cognito defaults" in the section "Password policy".
Select the box "No MFA" in the Section "The Multi-factor authentication" Click the button "Next".
Step 3. Configure sign-up experience
- Click the button "Next".
Step 4. Configure message delivery
- Select the box "Send an email with Cognito" in the Section "Email" Click the button "Next".
Step 5. Integrate your app
Type in the box {my-user-pool-name} in the section "User pool name".
Check the box "Use the Cognito Hosted UI" in the Section "Hosted authentication pages".
Type in the box {my-domain} in the paragraph "Cognito domain" in the section "Domain".
Select the box "public client: in the paragraph "App type" in the section "Initial app client".
Type in the box {my-cleitn-name} in the paragraph "App client name" in the section "Initial app client".
Type in the box {my-callback-url} in the paragraph "URL" in the section "Initial app client".
Click the button "Next".
Step 6. Review and create
- Click the button "Create user pool"
Case 2. Federated identity providers
Step 1. Configure sign-in experience
Check the box "Federated identity providers" in the paragraph "Provider types".
Check the box "Email" in the paragraph "Cognito user pool sign-in options".
Check the boxes in the list "Facebook", and "Google", etc in the paragraph Federated sign-in options.
Click the button "Next".
Step 2. Configure security requirements
Select the box "Cognito defaults" in the section "Password policy".
Select the box "No MFA" in the Section "The Multi-factor authentication".
Click the button "Next".
Step 3. Configure sign-up experience
- Click the button "Next"
Step 4. Configure message delivery
Select the box "Send an email with Cognito" in the Section "Email".
Click the button "Next".
Step 5. Integrate your app
Type in the box {my-user-pool-name} in the section "User pool name".
Check the box "Use the Cognito Hosted UI" in the Section "Hosted authentication pages".
Type in the box {my-domain} in the paragraph "Cognito domain" in the section "Domain".
Select the box "public client: in the paragraph "App type" in the section "Initial app client".
Type in the box {my-cleitn-name} in the paragraph "App client name" in the section "Initial app client".
Type in the box {my-callback-url} in the paragraph "URL" in the section "Initial app client".
Click the button "Next".
Step 6. Review and create
- Click the button "Create user pool".