# How to make email links work even for previously sent password reset emails ? (only the last link sent works)

**URL:** <https://community.auth0.com/t/how-to-make-email-links-work-even-for-previously-sent-password-reset-emails-only-the-last-link-sent-works/84398>\
**Category:** Get Help\
**Tags:** email, expiration, password-reset\
**Created:** [June 1, 2022, 1:04pm UTC](https://community.auth0.com/t/how-to-make-email-links-work-even-for-previously-sent-password-reset-emails-only-the-last-link-sent-works/84398 "2022-06-01T13:04:59Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![clement1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/clement1/32/28343_2.png) [@clement1](https://community.auth0.com/u/clement1)\
**Post date:** [June 1, 2022, 1:04pm UTC](https://community.auth0.com/t/how-to-make-email-links-work-even-for-previously-sent-password-reset-emails-only-the-last-link-sent-works/84398/1 "2022-06-01T13:04:59Z")

</div>

Hi Auth0 team,

Often users who ask a password reset with Auth0 ask 2 times for the email.  
Problem: they click on the wrong email in their mailbox and they got an expired link error with Auth0 because they don’t click on the last link sent by Auth0.

Is there a way to disable this standard security feature with Auth0, as password reset emails links also has time expiration settings with the `Url Lifetime` setting

 ![image](https://global.discourse-cdn.com/auth0/original/3X/c/6/c6f23afedf2f7dff6220947b0b5df9ced71c7d8a.png)  
 ![image](https://global.discourse-cdn.com/auth0/original/3X/d/9/d973df376a18572767811e2aa300f46fd2d695cb.png)

Thanks a lot for your help !

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [June 1, 2022, 4:57pm UTC](https://community.auth0.com/t/how-to-make-email-links-work-even-for-previously-sent-password-reset-emails-only-the-last-link-sent-works/84398/3 "2022-06-01T16:57:10Z")

</div>

Hi @clement1 ,

Thank you for posting this topic on the Auth0 Community!

I understand that you want to make the previously sent reset password link work within the URL Lifetime.

As mentioned in [this](https://auth0.com/docs/authenticate/database-connections/password-change#trigger-an-interactive-password-reset-flow) article,

`If the user receives multiple password reset emails, only the password link in the most recent email is valid.`

The link in every email has a unique ticket number which is for securing the request. We can not disable this security feature.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/e/8/e822567929fcf7e846367ca433446ee5b7752b88.jpeg)

Please let us know if any other queries we can assist with.

---

<div class="post-metadata">

**Author:** ![clement1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/clement1/32/28343_2.png) [@clement1](https://community.auth0.com/u/clement1)\
**Post date:** [July 15, 2022, 2:24pm UTC](https://community.auth0.com/t/how-to-make-email-links-work-even-for-previously-sent-password-reset-emails-only-the-last-link-sent-works/84398/4 "2022-07-15T14:24:34Z")

</div>

@lihua.zhang

This is very confusing for many users, especially because the error page shown on Auth0 after clicking on an expired link is absolutely not understandable by end users (see the picture bellow).

Having an error page like  
“This password change link is expired for security reasons. Please click on the last link you received, or `re-send` an email to recover my password”  
would better fit user understanding.

Our users are in real estate, and we need this part to be much more understandable by our users, net are not digital natives.

So how can we:

- disable this behavior of expired links ?
- Customise this error page with a link to password recovery

Thanks a lot for your help

 ![image](https://global.discourse-cdn.com/auth0/original/3X/b/c/bcde0847080abd5bda19d5047c51c26b4b3b49a0.png)

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [July 15, 2022, 5:48pm UTC](https://community.auth0.com/t/how-to-make-email-links-work-even-for-previously-sent-password-reset-emails-only-the-last-link-sent-works/84398/5 "2022-07-15T17:48:09Z")

</div>

Hi @clement1 ,

Your tenant has the Classic Universal Login enabled. Unfortunately, we can not customize the error page for the Classic UL, nor disable the behavior of expired links.

The workaround is to switch to the “New Universal Login” and customize the reset password error page. Please send a PUT request to the `https://{your domain}/api/v2/prompts/reset-password/custom-text/en` endpoint, with below body script:

```auto
{
    "reset-password-error":{
        "descriptionExpired" : "This password change link is expired for security reasons. Please click on the last link you received, or re-send an email to recover my password"
    }
}

```

and here is how the updated error page looks like.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/e/d/ed36308738f57eac9a5ca6b2d53736d0383ea9d2.jpeg)  
  
  
Reference: [Customize New Universal Login Text Prompts](https://auth0.com/docs/customize/universal-login-pages/customize-login-text-prompts)

Is this something you can explore?

---

<div class="post-metadata">

**Author:** ![clement1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/clement1/32/28343_2.png) [@clement1](https://community.auth0.com/u/clement1)\
**Post date:** [July 15, 2022, 6:13pm UTC](https://community.auth0.com/t/how-to-make-email-links-work-even-for-previously-sent-password-reset-emails-only-the-last-link-sent-works/84398/6 "2022-07-15T18:13:59Z")

</div>

Thanks a lot, and how do you provide the texts for different languages ?

https://{your domain}/api/v2/prompts/reset-password/custom-text/fr  
https://{your domain}/api/v2/prompts/reset-password/custom-text/es

No way to easily provide as a json ?

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [July 15, 2022, 6:25pm UTC](https://community.auth0.com/t/how-to-make-email-links-work-even-for-previously-sent-password-reset-emails-only-the-last-link-sent-works/84398/7 "2022-07-15T18:25:11Z")

</div>

Your below endpoints are correct! That’s the only way we update the New UL for different locales.

https://{your domain}/api/v2/prompts/reset-password/custom-text/fr  
https://{your domain}/api/v2/prompts/reset-password/custom-text/es

---

<div class="post-metadata">

**Author:** ![clement1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/clement1/32/28343_2.png) [@clement1](https://community.auth0.com/u/clement1)\
**Post date:** [July 18, 2022, 9:54am UTC](https://community.auth0.com/t/how-to-make-email-links-work-even-for-previously-sent-password-reset-emails-only-the-last-link-sent-works/84398/8 "2022-07-18T09:54:15Z")

</div>

Thanks a lot,

Where can i find a deeper doc about the prompt keys i can modify ?

https://{your domain}/api/v2/prompts/{thekey}/custom-text/fr

For example how to change the Title “Link Expired” and separately the text bellow

 ![image](https://global.discourse-cdn.com/auth0/original/3X/4/8/48a6fb947c75f82c7d0ff6a99d281d266f629144.jpeg)

This doc is quite opaque: [Auth0 Management API v2](https://auth0.com/docs/api/management/v2#!/Prompts/get_prompts)

---

<div class="post-metadata">

**Author:** ![clement1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/clement1/32/28343_2.png) [@clement1](https://community.auth0.com/u/clement1)\
**Post date:** [July 18, 2022, 10:06am UTC](https://community.auth0.com/t/how-to-make-email-links-work-even-for-previously-sent-password-reset-emails-only-the-last-link-sent-works/84398/9 "2022-07-18T10:06:14Z")

</div>

I mean,

We don’t to which screen is linked every key

 ![image](https://global.discourse-cdn.com/auth0/original/3X/6/d/6d81a8282ff12250477702a082fc89ecb6044744.png)

---

<div class="post-metadata">

**Author:** ![clement1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/clement1/32/28343_2.png) [@clement1](https://community.auth0.com/u/clement1)\
**Post date:** [July 18, 2022, 10:10am UTC](https://community.auth0.com/t/how-to-make-email-links-work-even-for-previously-sent-password-reset-emails-only-the-last-link-sent-works/84398/10 "2022-07-18T10:10:04Z")

</div>

Moreover i’m using the New Universal Login, but looks like the error page is the Classic Universal Login

 ![image](https://global.discourse-cdn.com/auth0/original/3X/4/d/4dd7c0779dc73de4dc4dcc936b3ad5dfcb30719b.png)  
 ![image](https://global.discourse-cdn.com/auth0/original/3X/0/b/0b34c14939c15af86e96c362f8a0c70b9eaff741.png)

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [July 18, 2022, 4:50pm UTC](https://community.auth0.com/t/how-to-make-email-links-work-even-for-previously-sent-password-reset-emails-only-the-last-link-sent-works/84398/11 "2022-07-18T16:50:45Z")

</div>

@clement1 ,

```auto
Where can I find a deeper doc about the prompt keys I can modify?

https://{your domain}/api/v2/prompts/{thekey}/custom-text/fr

For example how to change the Title “Link Expired” and separately the text below

```

`{thekey}` is the `PROMPT`

 ![image](https://global.discourse-cdn.com/auth0/original/3X/8/0/805355aacd197c17db525df61e5b9ca7697c9bfb.jpeg)

To update “Link Expired”, we call the `eventTitleExpired` like below.

```auto
https://{your domain}/api/v2/prompts/reset-password/custom-text/en
{
    "reset-password-error":{
        "descriptionExpired": "This password change link is expired for security reasons. Please click on the last link you received, or re-send an email to recover my password",
         "eventTitleExpired": "your title"
    }
}

```

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [July 18, 2022, 4:53pm UTC](https://community.auth0.com/t/how-to-make-email-links-work-even-for-previously-sent-password-reset-emails-only-the-last-link-sent-works/84398/12 "2022-07-18T16:53:38Z")

</div>

> [@clement1](#):
>
> Moreover i’m using the New Universal Login, but looks like the error page is the Classic Universal Login

Could you please go to the “Login”, “Password Reset”, and “Multi-factor Authentication” tab and set the Customize off, and try again?

 ![image](https://global.discourse-cdn.com/auth0/original/3X/3/4/349a91298b5bb94b2d0f8a1280526f60c2c3515b.jpeg)

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [July 25, 2022, 3:00pm UTC](https://community.auth0.com/t/how-to-make-email-links-work-even-for-previously-sent-password-reset-emails-only-the-last-link-sent-works/84398/13 "2022-07-25T15:00:15Z")

</div>

This topic was automatically closed after 9 days. New replies are no longer allowed.
