UniFed Authentication with AWS Cognito User Pool
Step 1: Create a User Pool in AWS Cognito
- Sign in to the AWS Management Console: AWS Management Console
- Open the Amazon Cognito console: Amazon Cognito
- Choose Manage User Pools
- Choose Create a user pool
- Configure your user pool settings:
- Pool name: Give your pool a name.
- Attributes: Configure attributes like email, phone number, etc.
- Complete the creation of the user pool and note down the User Pool ID
- (e.g., ap-south-1_1FQzoHo83).
Step 2: Create an App Client without a Client Secret
- In the Amazon Cognito console, choose your user pool.
- Under General Settings, choose App Clients.
- Then Navigate to the App integration
- Choose Create app client.
- Enter a name for the app client (e.g., myAppClient).
- Configure the app client settings:
- Uncheck the box for "Generate client secret".
- Note down the App Client ID (e.g., 15jsem50kqn22tjsan3q0go3u).