Skip to content

Accessing policy object coming from Custom Authorizer output within a separate business logic Lambda #796

@keyurpd

Description

@keyurpd

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    guidanceQuestion that needs advice or information.module/lambda-client-libresponse-requestedWaiting on additional info and feedback. Will move to close soon in 7 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions