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.

gefragt vor 3 Monaten145 Aufrufe
1 Antwort
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
beantwortet vor 3 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen