Skip to content

APIGatewayProxyFunction: Can't parse Identity from custom lambda authorizer output #408

@LUS1N

Description

@LUS1N

Custom Lambda Authorizer will output the claims directly in the authorizer object, while the Cognito User Pool token validator outputs the claims under authorizer.claims object, which prevents the claims from being loaded at all, cause the code in PostCreateContext is looking in Authorizer.Claims.

Metadata

Metadata

Assignees

No one assigned

    Labels

    guidanceQuestion that needs advice or information.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions