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.
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:
- Generate a Password Reset ticket using the Management API.
- Send an email to the user with this ticket URL - when clicked, will redirect to the password reset page.
Thank you so much! This works perfectly.
Thank you so much! This works perfectly.