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
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
I have a Token authorizer in rust that returns a
ApiGatewayCustomAuthorizerResponse
like this:This version uses
aws_lambda_events = "0.15.0"
and works.The
policy_document
looks like this:Using current
main
it no longer works: Because of #856 I updated theIamPolicyStatement
andIamPolicyEffect
.The code looks like this now:
This change breaks the authorizer and protected methods are no longer reachable, a response looks like this:
The only difference I see in the authorizers JSON response is that the
Condition
key is now in there, set to null:Add a
#[serde(skip_serializing_if = "Option::is_none")]
seems to fix the problem:The text was updated successfully, but these errors were encountered: