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 réponse
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
répondu il y a 2 ans
  • 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.

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