Is it possible to run a rule when a user requests a password reset

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:

  1. 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.

  2. Build a custom login page and assign two functions that should be called at a click of the Reset password button:

Please note that these two options have not been tested in the production environment and should be considered a proof of concept or workaround.