Change the flow Pre Password Reset

I have a specific requirement. I want to change the flow for the reset password page in PassKey Authentication. When a user tries to reset their password, I want them to be redirected to a custom security question page that I have created using Next.js and MongoDB. If the user correctly answers the security question, they should be directly redirected to the home page.

I have already created a security question page that appears after the signup page, and it is working. The security question, along with the user ID, is saved in the database.

Hi @js.developer,

Welcome to the Auth0 Community!

Certainly! The Password Reset Flow should allow you to redirect your user to your security question page. Then, after verification, the user can provide the new password for their account.

See this specific example as a reference.

Cheers,
Rueben

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.