How to use Cognito User Pool with custom OAuth scopes as authorizer for REST API

How to use Cognito User Pool with custom OAuth scopes as authorizer for REST API

In this blog post, we will look at how to configure OAuth authentication for a REST API using AWS Cognito user Pool. We will create a REST API using AWS Lambda and API Gateway, integrate it with Cognito User Pool and create custom OAuth scopes to authenticate and authorize the REST API endpoints. Overview At a high level, below are the steps to be performed to setup the REST API and OAuth authentication using Cognito ...

April 13, 2023 · 9 min