New Universal Login: Redirect to login page after changing password

Hi, I am currently working on a password reset work flow, where the user should be brought back to the Login page when the password is successfully reset. I am using the New Universal Login and the reset password email is sent by clicking the ‘Forget your password’ and entering the email.

Therefore, according to this thread (Why is password change/reset redirect not working?), I have tried to both fill the Application Login URL in Applications Settings and Tenant Login URI in Tenant Settings. But it gave me no redirect button on the ‘password successfully changed’ page.

I have also tried to pass the clientID, as suggested in this topic (Redirect URL after change password new universal login). It did not work as well.

The following image shows code snippet:
Under Branding/Universal Login/Login (HTML):


This function will be triggered when the user click ‘Send email’ and a password reset email should be sent to the associated email address.

Whereas the following images show my Login URL settings:


Screenshot 2021-10-14 at 17.57.05

I have also checked the logs in the dashboard, and the resultUrl is null, but I am not sure if this caused the problem.
Screenshot 2021-10-18 at 17.15.04

Hi @lengwe

Welcome to the Auth0 Community!

Let’s take a look:

If you are customizing the HTML of the login page in the dashboard, you are not using New Universal Login. You are using Classic.

You will see a warning at the top of the page describing this.

Because of this, tenant login and application login URL
settings will have no effect on the password change redirect.

If we follow the flow chart from the post you linked, we can see that the RedirectTo param in the email template will dictate the location the user is sent after the password change.

2 Likes

Hi @dan.woda ! Thank you very much for your reply!

Yes, I do have the warning on the top of page. Actually I have the “RedirectTo” field filled previously, and it did not work. But I just changed to another URL link, which is starting with https://xxxx.org, whereas before it was login.xxxx.org and it works fine now!! Does the “RedirectTo” field has to be https protocol for it to work?

Thank you!

It doesn’t have to be https, but it does need to be a URL.

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