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

Overview

I want to run a rule if the user requests a password reset. 

Cause

We do have Post Change Password triggers in both Actions and Hooks. But we do not have a trigger initiated by the Password Reset Request.

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 as per the instructions below. 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:
    1. Make a call to the Management API to update a user
    2. 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.

Recommended content

No recommended content found...