Beginner's Guide: Amazon Cognito

How to use the User Pools in the Amazon Cognito

Beginner's Guide: Amazon Cognito

How to create a User pools

  1. Login to "AWS Management Console" Go to "Amazon Cognito".

  2. 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

  1. Check the box "Email" in the paragraph "Cognito user pool sign-in options" Click the button "Next".

Step 2. Configure security requirements

  1. Select the box "Cognito defaults" in the section "Password policy".

  2. Select the box "No MFA" in the Section "The Multi-factor authentication" Click the button "Next".

Step 3. Configure sign-up experience

  1. Click the button "Next".

Step 4. Configure message delivery

  1. Select the box "Send an email with Cognito" in the Section "Email" Click the button "Next".

Step 5. Integrate your app

  1. Type in the box {my-user-pool-name} in the section "User pool name".

  2. Check the box "Use the Cognito Hosted UI" in the Section "Hosted authentication pages".

  3. Type in the box {my-domain} in the paragraph "Cognito domain" in the section "Domain".

  4. Select the box "public client: in the paragraph "App type" in the section "Initial app client".

  5. Type in the box {my-cleitn-name} in the paragraph "App client name" in the section "Initial app client".

  6. Type in the box {my-callback-url} in the paragraph "URL" in the section "Initial app client".

  7. Click the button "Next".

Step 6. Review and create

  1. Click the button "Create user pool"

Case 2. Federated identity providers

Step 1. Configure sign-in experience

  1. Check the box "Federated identity providers" in the paragraph "Provider types".

  2. Check the box "Email" in the paragraph "Cognito user pool sign-in options".

  3. Check the boxes in the list "Facebook", and "Google", etc in the paragraph Federated sign-in options.

  4. Click the button "Next".

Step 2. Configure security requirements

  1. Select the box "Cognito defaults" in the section "Password policy".

  2. Select the box "No MFA" in the Section "The Multi-factor authentication".

  3. Click the button "Next".

Step 3. Configure sign-up experience

  1. Click the button "Next"

Step 4. Configure message delivery

  1. Select the box "Send an email with Cognito" in the Section "Email".

  2. Click the button "Next".

Step 5. Integrate your app

  1. Type in the box {my-user-pool-name} in the section "User pool name".

  2. Check the box "Use the Cognito Hosted UI" in the Section "Hosted authentication pages".

  3. Type in the box {my-domain} in the paragraph "Cognito domain" in the section "Domain".

  4. Select the box "public client: in the paragraph "App type" in the section "Initial app client".

  5. Type in the box {my-cleitn-name} in the paragraph "App client name" in the section "Initial app client".

  6. Type in the box {my-callback-url} in the paragraph "URL" in the section "Initial app client".

  7. Click the button "Next".

Step 6. Review and create

  1. Click the button "Create user pool".