aws / aws-lambda-java-libs

Official mirror for interface definitions and helper classes for Java code running on the AWS Lambda platform.

Home Page:https://aws.amazon.com/lambda/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CognitoUserPoolPreTokenGenerationEvent Only supports V1 of the event

Neil3079 opened this issue · comments

I am looking to add some custom claims to an access token during the authorisation process following the instructions here https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-token-generation.html.

There only seems to be support for the basic version of CognitoUserPoolPreTokenGenerationEvent. The advanced version with parameters to customise the access token seem to be missing?

Is it possible to add this event?