# Missing "Back to login" button for Password Reset Expired Error

**URL:** <https://community.auth0.com/t/missing-back-to-login-button-for-password-reset-expired-error/88232>\
**Category:** Get Help\
**Tags:** login, auth0\
**Created:** [August 4, 2022, 10:43pm UTC](https://community.auth0.com/t/missing-back-to-login-button-for-password-reset-expired-error/88232 "2022-08-04T22:43:13Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![samantha](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/samantha/32/33466_2.png) [@samantha](https://community.auth0.com/u/samantha)\
**Post date:** [August 4, 2022, 10:43pm UTC](https://community.auth0.com/t/missing-back-to-login-button-for-password-reset-expired-error/88232/1 "2022-08-04T22:43:13Z")

</div>

I’m calling the following to customize the reset password prompts:

```auto
curl --request PUT \
  --url 'https://my-url.com/api/v2/prompts/reset-password/custom-text/en' \
  --header 'authorization: Bearer <TOKEN>' \
  --header 'content-type: application/json' \
  --data '{ "reset-password": { "description": "Enter and confirm your password below", "buttonText": "Confirm Password", "title": "Set Your Password", "pageTitle": "Set Password"}, "reset-password-request": { "title": "Reset Password", "backToLoginLinkText": "Back to login" }, "reset-password-success": { "buttonText": "Back to login", "eventTitle": "Password Set!", "description": "Your password has been created successfully" }, "reset-password-error": {"descriptionExpired": "To reset your password, return to the login page and select \"Reset Password\" to send a new email.", "descriptionGeneric": "To reset your password, return to the login page and select \"Reset Password\" to send a new email.", "descriptionUsed": "This link has already been used. To reset your password, return to the login page and select \"Reset Password\" to send a new email.", "backToLoginLinkText": "Back to login"}, "reset-password-email": {"emailDescription": "Please check ${email} for instructions to reset your password." }}'

```

The `backToLoginLinkText` key is defined and the button appears for the password reset + invalid (already used) link, but the button is missing from the Expired Link prompt:

 ![before](https://global.discourse-cdn.com/auth0/original/3X/3/6/364c16f6b94b39267816a8228e657d1dd203101b.png)

How can I get the back to login button to appear for this prompt?

---

<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:** [August 4, 2022, 11:37pm UTC](https://community.auth0.com/t/missing-back-to-login-button-for-password-reset-expired-error/88232/2 "2022-08-04T23:37:36Z")

</div>

Hi @samantha

Welcome to the Auth0 Community 🙂

It sounds like you’re using the Universal Login New Experience, I think the button is missing here because you may not have configured a default login route either at application or tenant level see here on how to set that [https://auth0.com/docs/authenticate/login/auth0-universal-login/configure-default-login-routes](https://auth0.com/docs/authenticate/login/auth0-universal-login/configure-default-login-routes)

The weird thing is that if that was the case then I would expect the button to be missing on the other prompts as well still please confirm you have a default login route set.

Regards

---

<div class="post-metadata">

**Author:** ![samantha](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/samantha/32/33466_2.png) [@samantha](https://community.auth0.com/u/samantha)\
**Post date:** [August 5, 2022, 6:23pm UTC](https://community.auth0.com/t/missing-back-to-login-button-for-password-reset-expired-error/88232/3 "2022-08-05T18:23:37Z")

</div>

Hi @SaqibHussain ,  
We’ve checked our settings and have both the “Tenant Login URI” and “Application Login URI” set with a login url. The button is appearing on the other prompts, but still missing for the Link Expired prompt

Thanks for your help,  
Samantha

---

<div class="post-metadata">

**Author:** ![erik.vorstenbosch](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/erik.vorstenbosch/32/34923_2.png) [@erik.vorstenbosch](https://community.auth0.com/u/erik.vorstenbosch)\
**Post date:** [August 11, 2022, 2:48pm UTC](https://community.auth0.com/t/missing-back-to-login-button-for-password-reset-expired-error/88232/4 "2022-08-11T14:48:13Z")

</div>

I do have the same issue. Adding a default login url does not solve the problem for me. There are two cases of the Link Expired prompt. One is when the url lifetime is expired, in this case the button does show as expected. The other is when the link is expired when a newer link is created, in that case the button does not show.

---

<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:** [August 12, 2022, 5:46am UTC](https://community.auth0.com/t/missing-back-to-login-button-for-password-reset-expired-error/88232/5 "2022-08-12T05:46:02Z")

</div>

Hi @erik.vorstenbosch  
Thanks for highlighting the use case here, I was able to replicate the issue as a result.

After checking internally this is expected behaviour. We delete all older tickets of the same type (password reset in this case) for a specific user when a new ticket is created therefore we don’t have any information about tenant / connection for the old ticket which means we cannot display the “Back to xxx” button.

Does this help clarify the situation @samantha?

Warm regards.

---

<div class="post-metadata">

**Author:** ![erik.vorstenbosch](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/erik.vorstenbosch/32/34923_2.png) [@erik.vorstenbosch](https://community.auth0.com/u/erik.vorstenbosch)\
**Post date:** [August 12, 2022, 6:49am UTC](https://community.auth0.com/t/missing-back-to-login-button-for-password-reset-expired-error/88232/6 "2022-08-12T06:49:53Z")

</div>

Thanks @SaqibHussain, that makes sense.  
It would be nice if these situations could be differentiated, so that I could show a different description (notify the user that they might have received a newer link). But for now it is OK.

---

<div class="post-metadata">

**Author:** ![samantha](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/samantha/32/33466_2.png) [@samantha](https://community.auth0.com/u/samantha)\
**Post date:** [August 12, 2022, 2:27pm UTC](https://community.auth0.com/t/missing-back-to-login-button-for-password-reset-expired-error/88232/7 "2022-08-12T14:27:20Z")

</div>

@SaqibHussain Is there any way in this screen that we can add an html link to the error description text? Right now, we have users getting stuck on this `Link Expired` screen with no recourse on where to go in order to get a new login

---

<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:** [August 27, 2022, 3:16pm UTC](https://community.auth0.com/t/missing-back-to-login-button-for-password-reset-expired-error/88232/8 "2022-08-27T15:16:34Z")

</div>

Hi @samantha apologies for he delay here, just returned from annual leave.

The text can be updated via a PUT to [https://YOUR-DOMAIN/api/v2/prompts/reset-password/custom-text/en](https://YOUR-DOMAIN/api/v2/prompts/reset-password/custom-text/en)  
Body:

```auto
{
    "reset-password-error": {
        "descriptionExpired": "Text updated"
    }
}

```

However this will be plain text so you cannot add any links via anchor tags etc.

Please submit some feedback here to get this changed [https://auth0.com/feedback](https://auth0.com/feedback)

Warm regards

---

<div class="post-metadata">

**Author:** ![gal.arbel](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gal.arbel/32/51296_2.png) [@gal.arbel](https://community.auth0.com/u/gal.arbel)\
**Post date:** [October 1, 2023, 8:24pm UTC](https://community.auth0.com/t/missing-back-to-login-button-for-password-reset-expired-error/88232/9 "2023-10-01T20:24:21Z")

</div>

Hi,

we’re also facing the same issue.  
would be great if we could define somewhere a “back to login” button - even if it’s different for this specific use-case…

right now the UX of this page is broken. it’s leading customers to a ‘dead-end’ page where they have to look for a link or direction elsewhere ----\> bad UX.

---

<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:** [October 5, 2023, 4:20pm UTC](https://community.auth0.com/t/missing-back-to-login-button-for-password-reset-expired-error/88232/10 "2023-10-05T16:20:20Z")

</div>

Hi @gal.arbel

I re-tested this out and it now seems to work as expected.

I ensured I had a default login route on my application Auth0 as below:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/1/5/15f5de355f34615329324d6ceb010ed450f0635a.png)

I executed the curl below to create a password reset ticket with a really short expiry:

```auto
curl -L 'https://<domain>/api/v2/tickets/password-change' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{"user_id":"auth0|64932462f803daac3db8a681","client_id":"cAuvPOjPgWqtL0tcZZo4cfiqUSxoNFUy","ttl_sec":3,"mark_email_as_verified":false,"includeEmailInRedirect":true}'

```

I waited the 3 seconds and tested with the results below:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/0/4/0413b4092f25bfdcff2b3600087e8725287ad8f1.png)

As you can see the “Back to login” button does show. Are you able to re-test given my tests above and let me know how you get on.

Warm regards.

---

<div class="post-metadata">

**Author:** ![cdulay](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cdulay/32/52173_2.png) [@cdulay](https://community.auth0.com/u/cdulay)\
**Post date:** [March 4, 2024, 7:35am UTC](https://community.auth0.com/t/missing-back-to-login-button-for-password-reset-expired-error/88232/11 "2024-03-04T07:35:41Z")

</div>

Hello @SaqibHussain .  
I’m also facing the same issue.  
The `Back to login` is missing.  
I already have the `Application Login URI`.  
Currently reset-password-success displays the Back to login CTA.  
But for reset-password-error no Back to login CTA.

Im using universal login.

Is there anything else that needs to be applied for it make the CTA appear?

---

<div class="post-metadata">

**Author:** ![ptu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ptu/32/50044_2.png) [@ptu](https://community.auth0.com/u/ptu)\
**Post date:** [June 10, 2024, 11:31am UTC](https://community.auth0.com/t/missing-back-to-login-button-for-password-reset-expired-error/88232/12 "2024-06-10T11:31:13Z")

</div>

Hi @SaqibHussain Can you help me with it? It doesn’t seem to be working for me.

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [October 31, 2024, 8:09pm UTC](https://community.auth0.com/t/missing-back-to-login-button-for-password-reset-expired-error/88232/13 "2024-10-31T20:09:21Z")

</div>

Hi team,

I’m sharing a knowledge solution that directly addresses this issue → [Missing "Back to My Application" Button on Expired /u/reset-password Page](https://community.auth0.com/t/missing-back-to-my-application-button-on-expired-u-reset-password-page/90544).

Let me know if that solves your issue with the missing Back to the Login button.

Thanks  
Dawid

---

<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:** [November 14, 2024, 8:10pm UTC](https://community.auth0.com/t/missing-back-to-login-button-for-password-reset-expired-error/88232/14 "2024-11-14T20:10:14Z")

</div>

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