Self-Hosted Widget Reset Password Custom Behavior

I am using the angular version of the widget (6.7.0).

By specifying these features:

smsRecovery: true,
callRecovery: true,
emailRecovery: true

The “Reset Password” screen is rendered as depicted below.

Screen Shot 2022-10-04 at 4.46.28 PM

For the “Reset via Email” option, I want to have my app trigger a custom email and not send the Okta generated email.

Are either of the following options possible?

  1. Intercept the click of the “Reset via Email” button and discontinue the flow that will trigger the Okta-generated email.
  2. Specify emailRecovery: false and add a custom button to the widget for the “Reset via Email” option.

Hello,
You probably could make either of those work.
As noted in this post, the Widget is open source so you could always fork/modify as needed.