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 Antwort
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
beantwortet vor 2 Jahren
  • 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.

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