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.

질문됨 3달 전144회 조회
1개 답변
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
답변함 3달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠