Open the AWS Console, navigate to the Cognito and click
Manage User Pools.
Create a user pool.
Enter Pool name, for example
CognitoTest and click
Create pool on the review page.
After user pool is created, go to
App clients and click
Add an app client.
Enter name, for example
Ensure that Generate client secret is not selected.
After app client is created, please note the
App client id that you will need later.
Next go to
App client settings.
Enter the following Callback URL (port number should correspond to you local project settings):
Authorization code grant and then
profile from Allowed OAuth scopes.
You will use the UI provided by Cognito to sign up users and enable them to log in. It is also possible to build your own UI, but this is out of the scope of current lab.
Domain name tab and enter domain prefix.