Problem Statement
Is it possible to run a rule when a user requests a password reset?
Solution
Unfortunately, we don’t have a trigger initiated at the password reset request event. There are 2 options to accomplish this by designing a custom flow:
-
Set up the Log Streaming. Once you receive the
**type:scpr**
event from Auth0, you can trigger a function in your backend application, e.g. use the Management API to update a user. -
Build a custom login page and assign two functions that should be called at a click of the Reset password button:
- Make a call to the Management API to update a user
- Make a call to the Authentication API to request a password reset
Please note that these two options have not been tested in the production environment and should be considered a proof of concept or workaround.