AWS Cognito - Trigger Email on Password Change
Asked Answered
P

1

6

Is there a way to trigger a notification email (to the user) in Cognito when that user's password is successfully changed?

Pendragon answered 15/4, 2021 at 12:40 Comment(0)
O
7

Unfortunately, there is no way to do this. There is a limited set of triggers that you can link Lambdas to, but none of them fire when a user changes their password.

The closest you could get would be to use the Custom Email Sender lambda trigger, but that only fires for passwords when a user uses the "forgot password" feature.

The only workaround I can think of is to do user auth through a custom external SAML-based IdP, where you would have full control over password management and related triggers.

Obtund answered 20/7, 2021 at 18:17 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.