# Is there a max value for the redirect to url lifetime in the email templates?

**URL:** <https://community.auth0.com/t/is-there-a-max-value-for-the-redirect-to-url-lifetime-in-the-email-templates/19530>\
**Category:** Get Help\
**Tags:** email-template, change-password\
**Created:** [January 2, 2019, 5:57pm UTC](https://community.auth0.com/t/is-there-a-max-value-for-the-redirect-to-url-lifetime-in-the-email-templates/19530 "2019-01-02T17:57:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![a-ignatov-parc](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/a-ignatov-parc/32/10227_2.png) [@a-ignatov-parc](https://community.auth0.com/u/a-ignatov-parc)\
**Post date:** [January 2, 2019, 5:57pm UTC](https://community.auth0.com/t/is-there-a-max-value-for-the-redirect-to-url-lifetime-in-the-email-templates/19530/1 "2019-01-02T17:57:02Z")

</div>

There is no validation in the “Change Password” template’s form and field allows to set value up to 99999999999 seconds. Are there any restrictions?

---

<div class="post-metadata">

**Author:** ![nicolas\_sabena](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nicolas_sabena/32/6064_2.png) [@nicolas\_sabena](https://community.auth0.com/u/nicolas_sabena)\
**Post date:** [January 2, 2019, 6:59pm UTC](https://community.auth0.com/t/is-there-a-max-value-for-the-redirect-to-url-lifetime-in-the-email-templates/19530/2 "2019-01-02T18:59:14Z")

</div>

There are no restrictions **as of now** , but I wouldn’t be surprised if some kind of limit is enforced in the future. What would be a good value for you?

---

<div class="post-metadata">

**Author:** ![a-ignatov-parc](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/a-ignatov-parc/32/10227_2.png) [@a-ignatov-parc](https://community.auth0.com/u/a-ignatov-parc)\
**Post date:** [January 2, 2019, 7:39pm UTC](https://community.auth0.com/t/is-there-a-max-value-for-the-redirect-to-url-lifetime-in-the-email-templates/19530/3 "2019-01-02T19:39:26Z")

</div>

Thanks for your response, Nicolas.

We are hoping to use one year lifetime period for links.

---

<div class="post-metadata">

**Author:** ![nicolas\_sabena](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nicolas_sabena/32/6064_2.png) [@nicolas\_sabena](https://community.auth0.com/u/nicolas_sabena)\
**Post date:** [January 2, 2019, 9:54pm UTC](https://community.auth0.com/t/is-there-a-max-value-for-the-redirect-to-url-lifetime-in-the-email-templates/19530/4 "2019-01-02T21:54:34Z")

</div>

Just curious from a product perspective: what would be the scenario where the expiration for the Change Password should be more than a few minutes? Keep in mind that when the duration increases, so does the security risks of the link getting in the wrong hands and used to gain access to an account.

---

<div class="post-metadata">

**Author:** ![a-ignatov-parc](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/a-ignatov-parc/32/10227_2.png) [@a-ignatov-parc](https://community.auth0.com/u/a-ignatov-parc)\
**Post date:** [January 3, 2019, 10:09am UTC](https://community.auth0.com/t/is-there-a-max-value-for-the-redirect-to-url-lifetime-in-the-email-templates/19530/5 "2019-01-03T10:09:34Z")

</div>

You are correct about security risks.

Long story short we are planning to use change password email template as a workaround for the invitation links.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 29, 2019, 8:36am UTC](https://community.auth0.com/t/is-there-a-max-value-for-the-redirect-to-url-lifetime-in-the-email-templates/19530/6 "2019-08-29T08:36:45Z")

</div>


