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 Answer
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
answered 2 years ago
  • 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.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions