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
![](https://lh7-us.googleusercontent.com/docsz/AD_4nXfWPU8cVnYG5B0zUd9W8suE-T7VI-jE6b6GgdhiIQo6CCZ7aKzQKAvDXmk6_zK9-7LKO--Nze0lmPj_wTh7VNeCHZ1N_iEXAbpn7z3KEOoAil_bdRmu3QUfgMXpXkCpYpoaDG1CWJX_hcdMV-ZB-sX3Rpip?key=ylZgwoSD1J3WA0pB0kPIuQ)
- Choose Create app client.
![](https://lh7-us.googleusercontent.com/docsz/AD_4nXdgatPz3OiFnHnz3P7OorPworL0p71WzKw0zj5eJcLzEuh1DATc4IvO-hIOLZu7ji0m_5YJYniGJLzP3Q_lQ7E4aRe5PByLvVbgBJRVDH8iC6G3uHfqFZi3z6OpuM4DPq4t7PN2OLph-SM5oGVn-tsIJbD5?key=ylZgwoSD1J3WA0pB0kPIuQ)
- Enter a name for the app client (e.g., myAppClient).
- Configure the app client settings:
- Uncheck the box for "Generate client secret".
![](https://lh7-us.googleusercontent.com/docsz/AD_4nXezNWSU_nn2OGaCdM2pMg55fUdYnwvj6ZiGl4Naw1lvRWJQhkIDug98ll8LdlUu7NcXpDZfa_DK6Nu-jL2d3CsUssmaKpgEYN4gffHrRiTfnTSOZWAB-U0ar4ELSGEF0ynDm9xrREI9AYfOwJQll7a42mU?key=ylZgwoSD1J3WA0pB0kPIuQ)
- Note down the App Client ID (e.g., 15jsem50kqn22tjsan3q0go3u).
![](//d33v4339jhl8k0.cloudfront.net/docs/assets/5f0c15e104286306f8069a40/images/66757b095940934e140f502f/file-gJcnlVrOtW.png)