Auth0 Home Blog Docs

Redirect to password reset hosted page with verification email

passwordless
email-verification

#1

What I want to do is that after email address is verified with a verification email, the user is forced to reset password.
In the email template settings, I’ve set redirect url of “https://TenantName.auth0.com/lo/reset” but after redirected, I had the “Internal Server Error”.

The url of password reset is wrong?

My scenario is similar to “Invite-only applications” but I also have to user verification email, which is configured to turn off at the sample.


#2

The password reset URL requires a “ticket” generated for the user who is resetting the password. This ticket must be generated dynamically for the user, hence cannot be “passed” into the automatic verification email. This means you will need to handle sending the email, rather than using the Auth0 verification email.

To achieve this, you would need to:

  1. Generate a Password Reset ticket using the Management API.
  2. Send an email to the user with this ticket URL - when clicked, will redirect to the password reset page.

#3

Thank you so much! This works perfectly.


#4

Thank you so much! This works perfectly.


#5