# How to change forget password url in universal login page

**URL:** <https://community.auth0.com/t/how-to-change-forget-password-url-in-universal-login-page/117250>\
**Category:** Get Help\
**Tags:** classic-universal-login-experience, login-experience\
**Created:** [September 27, 2023, 1:02pm UTC](https://community.auth0.com/t/how-to-change-forget-password-url-in-universal-login-page/117250 "2023-09-27T13:02:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hitesh.saini](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@hitesh.saini](https://community.auth0.com/u/hitesh.saini)\
**Post date:** [September 27, 2023, 1:02pm UTC](https://community.auth0.com/t/how-to-change-forget-password-url-in-universal-login-page/117250/1 "2023-09-27T13:02:06Z")

</div>

Hi  
I want only implement universal login, I already have forget password pages, so i just want to replace forgot password url on universal login page so when user click on it user will redirect to that page, Is it possible to do that? I tried custom login page but did not get the idea where should i change that url.

---

<div class="post-metadata">

**Author:** ![SaqibHussain](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saqibhussain/32/42924_2.png) [@SaqibHussain](https://community.auth0.com/u/SaqibHussain)\
**Post date:** [September 27, 2023, 11:09pm UTC](https://community.auth0.com/t/how-to-change-forget-password-url-in-universal-login-page/117250/2 "2023-09-27T23:09:48Z")

</div>

Hi @hitesh.saini

Thanks for getting in touch with Auth0 Community.

There isn’t a way to do this out of the box but there may be some workarounds and these apply to New Universal Login.

The Login interface would normally contain a text prompt of the form ‘Forgot password?’, which would link to the standard Auth0 change-password flow.

As a first step, there is a way to prevent this ‘Forgot password?’ prompt fom being displayed. This can be achieved by patching a database connection with the attribute disable\_self\_service\_change\_password.

You can read more about this change in this Community article:

[https://community.auth0.com/t/how-to-remove-the-forgot-password-link-from-the-new-universal-login-page/92554](https://community.auth0.com/t/how-to-remove-the-forgot-password-link-from-the-new-universal-login-page/92554)

For the second step, you have two options:

- add a ‘_Forgot password?_’ link to the header or footer, similar to this example:

[https://auth0.com/docs/customize/universal-login-pages/universal-login-page-templates#page-footers](https://auth0.com/docs/customize/universal-login-pages/universal-login-page-templates#page-footers)

However, this does not have a strong visual impact, with the result that some users may not notice the link.

- I know some customers have managed to use some javascript to edit the existing `href` property but I do not have an example of this. It may be possible to achieve this via [Page Templates API](https://auth0.com/docs/customize/universal-login-pages/universal-login-page-templates#page-templates-api) or [Auth0 CLI](https://auth0.com/docs/customize/universal-login-pages/universal-login-page-templates#using-the-auth0-cli-)

There are a few possible drawbacks:

1. this is a non-standard approach, so I cannot guarantee that it will work.
2. even if it worked today, I cannot guarantee that it will continue to work in the future, as Auth0 continually strives to improve the user experience
3. it is is not an “official” feature, so it would not be formally supported

Those are only the two approaches that I think may work for you when using New Universal Login.

We do have a feature request in our backlog though to make this process easier for customers going forward.

Warm regards.

---

<div class="post-metadata">

**Author:** ![hitesh.saini](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@hitesh.saini](https://community.auth0.com/u/hitesh.saini)\
**Post date:** [September 28, 2023, 9:12am UTC](https://community.auth0.com/t/how-to-change-forget-password-url-in-universal-login-page/117250/3 "2023-09-28T09:12:06Z")

</div>

Thanks for kind response

---

<div class="post-metadata">

**Author:** ![hitesh.saini](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@hitesh.saini](https://community.auth0.com/u/hitesh.saini)\
**Post date:** [October 11, 2023, 2:23pm UTC](https://community.auth0.com/t/how-to-change-forget-password-url-in-universal-login-page/117250/4 "2023-10-11T14:23:54Z")

</div>

I got it, just add `forgotPasswordLink: 'https://yoursite.com/reset-password'`  
in lock config  
here is whole page to configure it.  
[https://auth0.com/docs/libraries/lock/lock-configuration](https://auth0.com/docs/libraries/lock/lock-configuration)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 25, 2023, 2:24pm UTC](https://community.auth0.com/t/how-to-change-forget-password-url-in-universal-login-page/117250/5 "2023-10-25T14:24:08Z")

</div>

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