Skip to content

Commit

Permalink
Fix casing for Cognito user pools type in OpenAPI specification
Browse files Browse the repository at this point in the history
Previously the authorizer was not being properly setup due to this reason
  • Loading branch information
tmclaugh committed Nov 9, 2024
1 parent 84aabbf commit 3373b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,9 @@ components:
in: header
x-amazon-apigateway-authtype: cognito_user_pools
x-amazon-apigateway-authorizer:
type: cognito_user_pools
providerARNs:
- Ref: CognitoUserPoolArn
type: COGNITO_USER_POOLS
identitySource: method.request.header.Authorization
# Not sure why this breaks requests. Leaving this here as a note to not enable this
# confoguration.
Expand Down

0 comments on commit 3373b34

Please sign in to comment.