Cognito users can be added to different groups, and we can treat users differently based on those groups. For example, as admin user can be shown an admin menu, whereas a regular user can be shown a regular menu. In this recipe, we will look at how to create and use groups with Cognito user pools.
Working with groups
Getting ready
The following are the prerequisites for completing this recipe:
- Ensure that you have created a Cognito user pool, following the recipe Creating a Cognito user pool.
How to do it...
We will look at how to create a group, how to add users to...