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
I wonder if x-amazon-apigateway-authorizer.type is a case sensitive match of x-amazon-apigateway-authtype. That may explain why after an update auth keeps breaking and only seems to get fixed after a manual stage deployment.
  • Loading branch information
tmclaugh committed Nov 8, 2024
1 parent 84aabbf commit 6e332bd
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 @@ -423,7 +423,7 @@ components:
x-amazon-apigateway-authorizer:
providerARNs:
- Ref: CognitoUserPoolArn
type: COGNITO_USER_POOLS
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 6e332bd

Please sign in to comment.