Prerequisites
API Gateway
Create Cognito Authorizer
Navigate to API Gateway > Select your API > Authorizers > Create New Authorizer
Name | Supply a name for your Authorizer |
Type | Cognito |
Cognito User Pool | Select your Cognito User Pool |
Token Source | Authorization |
Token Validation |
- Click on 'Create'.
- To test your Authorizer, you have to get an AccessToken from your User Pool when signing in.
- Click on 'Test' and paste the token into the Authorization (header) field and click 'Test'.