AWS Cognito Setup
AWS Cognito Settings
This will be updated
Go to
Amazon Cognito
Click
Manage User Pools
Click
Create a user pool
Name: Fill out the
Pool name
with what you want and clickStep through settings
.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.
Policies
Select
Allow users to sign themselves up
MFA and verifications accept the defaults and click next.
Message Customizations: accept the defaults and click next.
Tags: accept the defaults and click next.
Devices: accept the defaults and click next.
App clients: click
add an app client
App client name: give the client a name
UNCHECK
generate client secret
Click next
Triggers:
Create the pool:
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
Policies; Setting Password options & click
Save Changes
; you can use this by default.MFA and verifications: let's use this by default.
Message customizations: we can change these options anytime.
Tags: let's skip this step
Devices: You can choose any one what you want. In my case, it was
No
.App clients: You should add an
App client
Triggers; let's skip this step.
Click
Create Pool
Domain name: you can fill out with random word.
Click
General settings
to get User Pool ID and use it forAWS_POOL_ID
in/.env
.Click
App clients
to getapp client id
and use it forAWS_CLIENT_ID
in/.env
.that's it
Last updated
Was this helpful?