'identitySource' needs to accept array of headers in TokenAuthorizer #6330
Labels
@aws-cdk/aws-apigateway
Related to Amazon API Gateway
closing-soon
This issue will automatically close in 4 days unless further comments are made.
feature-request
A feature should be added or improved.
Use Case
Getting below error if I pass array of headers as we need to provide for 'identitySource' in 'TokenAuthorizer'.
Invalid token source expression: method.request.header.authorization, method.request.header.appkey. The source must be a method request header, matching 'method.request.header.[a-zA-Z0-9._-]+'
Example token authorizer which we tried:
Proposed Solution
Other
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: