We have a separate custom lambda authorizer that validates incoming OIDC tokens and outputs a policy object with allow/deny, principal-id etc. Now we have a separate .net core business logic function that needs to read this principal-id and other custom outputs that the upstream authorizer might have sent.
Question: Is there a documentation and/or a sample where we can find how to read incoming context within the business logic Lambda?
|
itemFeatures.Items[LAMBDA_CONTEXT] = lambdaContext; |
We have a separate custom lambda authorizer that validates incoming OIDC tokens and outputs a policy object with allow/deny, principal-id etc. Now we have a separate .net core business logic function that needs to read this principal-id and other custom outputs that the upstream authorizer might have sent.
Question: Is there a documentation and/or a sample where we can find how to read incoming context within the business logic Lambda?
aws-lambda-dotnet/Libraries/src/Amazon.Lambda.AspNetCoreServer/AbstractAspNetCoreFunction.cs
Line 446 in 8d61a2f