Pre token generation is not called for access token

0

Hello,

I set a lambda function for Pre token generation on lambda trigger. The behavior is ok when selecting "Basic features" for ID tokens. But, when moving to "Basic features + access token customization - Recommended" , nothing is working. No call for ID tokens and access token

Thanks for your help.

demandé il y a 3 mois144 vues
1 réponse
0

Hello,

The Feature request to add custom details to an access token Pre token generation by lambda has been launched recently in December 2023. Please refer to documentation[1].

Document[2] mentions that In Cognito user pool console with advanced security features active, you can generate the version 2 or V2_0 trigger event with access token customization.

However, in order to do thorough investigating on your use case we require details that are non-public information. Please open a support case with AWS using the following link - https://support.console.aws.amazon.com/support/home#/case/create.

==Reference==

[1] https://aws.amazon.com/about-aws/whats-new/2023/12/amazon-cognito-user-pools-customize-access-tokens/

[2] https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-token-generation.html#user-pool-lambda-pre-token-generation-accesstoken

AWS
répondu il y a 3 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions