In the previous recipe, we demonstrated the use of server-side authentication flow, along with the authentication flow type ADMIN_NO_SRP_AUTH. In this recipe, we will demonstrate the use of client-side authentication flow, with the authentication flow type USER_PASSWORD_AUTH.
Client-side authentication flow
Getting ready
The following are the prerequisites for completing this recipe:
- Make sure that we have created a Cognito user pool, following the recipe Creating a Cognito user pool.
How to do it...
First, we will create the client, and then, we will execute various...