In this recipe, we will integrate Cognito Authorizer with the API gateway, and we will get one step closer to our goal of building an end-to-end Serverless web application. After integrating Cognito Authorizer with the API gateway, we will test it by using the Postman REST client.
Integrating Cognito with the API gateway
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.
- Ensure that you have created a Cognito app client with a USER_PASSWORD_AUTH explicit flow declaration, following the recipe Client-side authentication.