AWS Cognito

WS Cognito Settings

						> This will be updated
  • Go to Amazon Cognito

  1. Click Manage User Pools

  2. Click Create a user pool

  3. Name: Fill out the Pool name with what you want and click Step through settings.

  4. Attributes:

    • Username:

      • Check Also allow sign in with verified email address

      • Check Also allow sign in with preferred username (a username that your users can change)

    • Required

      • email

      • family name

      • given name

    we can add more fields, but need to update backend code in that case.

  5. Policies

  • Select Allow users to sign themselves up

  1. MFA and verifications accept the defaults and click next.

  2. Message Customizations: accept the defaults and click next.

  3. Tags: accept the defaults and click next.

  4. Devices: accept the defaults and click next.

  5. App clients: click add an app client

  • App client name: give the client a name

  • UNCHECK generate client secret

  • Click next

  1. Triggers:

  2. Create the pool:

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

  1. Policies; Setting Password options & click Save Changes; you can use this by default.

  2. MFA and verifications: let's use this by default.

  3. Message customizations: we can change these options anytime.

  4. Tags: let's skip this step

  5. Devices: You can choose any one what you want. In my case, it was No.

  6. App clients: You should add an App client

  7. Triggers; let's skip this step.

  8. Click Create Pool

  9. Domain name: you can fill out with random word.

  10. Click General settings to get User Pool ID and use it for AWS_POOL_ID in /.env.

  11. Click App clients to get app client id and use it for AWS_CLIENT_ID in /.env.

  12. that's it

Last updated

Was this helpful?