First things first, you’ll need to create a new User Pool through the AWS console. The user pool is basically a database of users with a small amount of information stored per user, most importantly a hash of their password.
AWS CONSOLE
Go to https://aws.amazon.com/console/ and login to your account, click on “Services” and search for Cognito in the result window
REGION
When you arrive at the Cognito web page, make sure to select your AWS Region in the top right corner (I’ve selected London in this case)
After you’ve selected your region, click on “Manage User Pools” button
CREATING YOUR USER POOL
Create a new Pool
Name your pool
CUSTOMIZING THE POOL
Name your pool then click “Step Through Settings“
Customize your pool settings on how you want your players / users to sign up
PASSWORD SETTINGS
ACCOUNT RECOVERY SETTINGS
Customize your Account Recovery Settings, or use the default values
EMAIL SETTINGS, TAGS
You can skip these settings or customize them to your needs, no explanation needed here.
DEVICES SETTINGS
Customize your Devices settings, click “Next step” when done
CONFIGURING YOUR APP CLIENT
Enter a name for your app client “my app client” is used in this example
- Uncheck “Generate Client Secret“
- Check “Enable username password based authentication” (ALLOW_USER_PASSWORD_AUTH)
Click on Create app client when you’re done
After you’ve created your App Client, it should be selected in the next screen, if not then select it and click “Next Step“
TRIGGERS
You can skip the Triggers settings for now, just click on “Next Step”
FINISH CREATING THE POOL
Review your pool settings then click on the “Create pool” button