AWS Cognito Setup
AWS Cognito Settings
This will be updated
Go to
Amazon CognitoClick
Manage User PoolsClick
Create a user poolName: Fill out the
Pool namewith 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 clientApp client name: give the client a name
UNCHECK
generate client secretClick 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 clientTriggers; let's skip this step.
Click
Create PoolDomain name: you can fill out with random word.
Click
General settingsto get User Pool ID and use it forAWS_POOL_IDin/.env.Click
App clientsto getapp client idand use it forAWS_CLIENT_IDin/.env.that's it
Last updated
Was this helpful?