Does anyone know what the flow is for a cognito po...
# help
g
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
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
but maybe you can do a test and return 401 just to check if the confirmation is completed
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