Post confirmation cognito trigger is not working

2

I am using the "adminCreateUser" function to create a user and get a temporary password over email. After submitting the password and generating a new password "Post confirmation" lambda should have triggered but it's not getting triggered. I have read this StackOverflow thread and it says in the case of "adminCreateUser" it will not trigger the lambda. Can you please guide the correct solution?

1 個回答
0

Post Confirmation Lambda triggers will only trigger for the following API calls: ConfirmSignUp, AdminConfirmSignUp,ConfirmForgotPassword.[1]

[1] https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-post-confirmation.html#user-pool-lambda-post-confirmation-flows

AWS
已回答 2 年前
  • This doesn’t seem to be a desired behaviour. Post Confirmation trigger should be invoked when a user is created via AdminCreateUser API as well.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南