Adding Authorization to the API Gateway using Amazon Cognito - ActoKids/api GitHub Wiki

Create a user pool

Add app client

Create an API Gateway Authorizer

Attach authorizer to Lambda function

Getting the id token from the user

-Sensitive information censored-

Requesting the GET method without a valid Authorization header

Requesting the GET method with a valid Authorization header