You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a "Lambda Authorizer" (not the "JWT Authorizer") is used then "authorizer" parts of the Json is ignored. This is when API Gateway is used with the newer "HTTP Api" and using 2.0 of the payload format.
Expected behavior
The context fields returned from the Authorization Lambda should be included in the request
Actual behavior
The Authorization part of the request is an empty map after deserialization of the request
Steps to reproduce
Create a HTTP Api in Api Gateway
Use a "Lambda Authorizer" with 2.0 payload format
In the Lambda use "HttpApiV2ProxyRequest"
When accessing the "event.getRequestContext().getAuthorizer()" then this map will not contain any of the context fields returned from the Authorizer Lambda. This is because only "jwt" is supported and not "lambda".
Basic information
Serverless Java Container version:
1.5.2
Implementations:
Jersey
Framework version:
Jersey 2.30.1
Frontend service:
HTTP API
Deployment method:
SAM
Scenario
When a "Lambda Authorizer" (not the "JWT Authorizer") is used then "authorizer" parts of the Json is ignored. This is when API Gateway is used with the newer "HTTP Api" and using 2.0 of the payload format.
Expected behavior
The context fields returned from the Authorization Lambda should be included in the request
Actual behavior
The Authorization part of the request is an empty map after deserialization of the request
Steps to reproduce
From the "HttpApiV2AuthorizerMap" class:
Http request (some of the headers have been removed)
The text was updated successfully, but these errors were encountered: