-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Custom Authorizer of the REQUEST type #1159
Comments
Sounds great! Send over a PR! |
Investigated this and it doesn't appear that Cloudformation currently supports accepting |
Marked |
Hi, I talked to AWS support engineers and it seems that there is a bug in documentation. The Cloudformation support is already there. Below is a template I received from AWS support: {
"AWSTemplateFormatVersion": "2010-09-09",
"Resources": {
"RestAPI": {
"Type": "AWS::ApiGateway::RestApi",
"Properties": {
"Name": "RestAPI"
}
},
"Authorizer": {
"Type": "AWS::ApiGateway::Authorizer",
"Properties": {
"AuthorizerUri": "arn:aws:apigateway:region:lambda:path/path/invocations",
"IdentitySource": "method.request.header.Auth",
"Name": "Authorizer",
"RestApiId": {
"Ref": "RestAPI"
},
"Type": "REQUEST"
}
}
}
} Can you, please, let me know when we can have this feature in Zappa? [Edit: formatting –@scoates] |
Hello, is there a plan to implement the 'REQUEST' type? |
Context
It is now possible when creating a custom authorizer for API Gateways to set a REQUEST type event payload which will pass all headers instead of just the authorization token header.
http://docs.aws.amazon.com/apigateway/latest/developerguide/use-custom-authorizer.html#api-gateway-custom-authorizer-request-lambda-function-create
Is there any plan to integrate this into Zappa?
The text was updated successfully, but these errors were encountered: