Join Slack
Powered by
Does anyone know what the flow is for a cognito po...
# help
g
Garret Harp
02/22/2022, 3:17 AM
Does anyone know what the flow is for a cognito postConfirmation trigger is if it fails? Cant really find anything on the AWS docs unless I am blind
g
Gabriel Araújo
02/22/2022, 5:02 PM
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-post-confirmation.html
I think it doesn't change anything since cognito doesn't expect any response
Gabriel Araújo
02/22/2022, 5:03 PM
but maybe you can do a test and return 401 just to check if the confirmation is completed
Gabriel Araújo
02/22/2022, 5:05 PM
But I don't think it will change anything in the confirmation flow since the user is already confirmed when
post
confirmation runs.. Maybe if you want to prevent something use the pre-* triggers
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-sign-up.html
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-authentication.html
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-token-generation.html
2
Views
Open in Slack
Previous
Next