# Re use same password less email link

**URL:** <https://community.auth0.com/t/re-use-same-password-less-email-link/71247>\
**Category:** Get Help\
**Tags:** signup\
**Created:** [October 13, 2021, 2:52pm UTC](https://community.auth0.com/t/re-use-same-password-less-email-link/71247 "2021-10-13T14:52:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefdelec](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stefdelec/32/31055_2.png) [@stefdelec](https://community.auth0.com/u/stefdelec)\
**Post date:** [October 13, 2021, 2:52pm UTC](https://community.auth0.com/t/re-use-same-password-less-email-link/71247/1 "2021-10-13T14:52:29Z")

</div>

Hi

We have a user that have a server that checks all his email and click on every link. So so email link he is receiving is invalid.

I can’t find an option to make the link living longer and more than one click?

Regards,

Stéphane

---

<div class="post-metadata">

**Author:** ![Ale](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ale/32/50860_2.png) [@Ale](https://community.auth0.com/u/Ale)\
**Post date:** [October 13, 2021, 3:29pm UTC](https://community.auth0.com/t/re-use-same-password-less-email-link/71247/3 "2021-10-13T15:29:14Z")

</div>

Hi @stefdelec,

Unfortunately, this is a known issue. We do not have any option to allow more than one click. We are working on this and might have a solution soon.

Our usual recommendation is to host a landing page which takes the magic link in a query string and returns HTML with a GET form that auto-submits to the actual verification endpoint. So instead of a bare magic link the email message will contain something like [https://yourapp.com/bypass?link=\<the\_actual\_target\>](https://yourapp.com/bypass?link=%3Cthe_actual_target%3E), which you can change in the email HTML for the passwordless connection. The email scanner should stop at the landing page and won’t try to submit the form.

Alternatively, the simplest workaround would be to use a code instead of a magic link.

---

<div class="post-metadata">

**Author:** ![stefdelec](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stefdelec/32/31055_2.png) [@stefdelec](https://community.auth0.com/u/stefdelec)\
**Post date:** [October 13, 2021, 3:43pm UTC](https://community.auth0.com/t/re-use-same-password-less-email-link/71247/4 "2021-10-13T15:43:36Z")

</div>

> [@Ale](#):
>
> which you can change in the email HTML

which you can change in the email HTML =\> I can only if I use my own email provider?

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

It is really painful. We took auth0 to avoid developing a lot of things, but it seems more and more that it was not a good option.

We are working on this and might have a solution soon.=\> what time frame?

---

<div class="post-metadata">

**Author:** ![Ale](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ale/32/50860_2.png) [@Ale](https://community.auth0.com/u/Ale)\
**Post date:** [October 14, 2021, 10:44pm UTC](https://community.auth0.com/t/re-use-same-password-less-email-link/71247/5 "2021-10-14T22:44:24Z")

</div>

Yes, you must use your own email provider. Actually, not only for customizing email templates but for any production tenant. [Auth0’s built-in email infrastructure should be used for testing emails only](https://auth0.com/docs/brand-and-customize/email/smtp-email-providers).

If you find it cumbersome or inconvenient to configure a proper email provider for development/testing purposes, you may find useful some email fake providers such as [https://mailtrap.io/](https://mailtrap.io/)

---

<div class="post-metadata">

**Author:** ![stefdelec](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stefdelec/32/31055_2.png) [@stefdelec](https://community.auth0.com/u/stefdelec)\
**Post date:** [October 20, 2021, 1:42pm UTC](https://community.auth0.com/t/re-use-same-password-less-email-link/71247/6 "2021-10-20T13:42:23Z")

</div>

> [@Ale](#):
>
> GET form

why that? window.location=link would not do the trick?

---

<div class="post-metadata">

**Author:** ![stefdelec](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stefdelec/32/31055_2.png) [@stefdelec](https://community.auth0.com/u/stefdelec)\
**Post date:** [October 20, 2021, 2:05pm UTC](https://community.auth0.com/t/re-use-same-password-less-email-link/71247/7 "2021-10-20T14:05:50Z")

</div>

I tried this code but it does not work: I have an auth0 error page:

```auto
<!DOCTYPE html>
<html>

  <body>
<form name="myForm" id="myForm" action="test.php" method="GET">
    
</form>

<script type="text/javascript">
    window.onload=function(){
      const urlSearchParams = new URLSearchParams(window.location.search);
      const paramToRedirect=urlSearchParams.get('r');
      if(paramToRedirect){
            document.forms["myForm"].action=paramToRedirect
              document.forms["myForm"].submit();
      }else{
      alert("an error occured. Please contacvt arianee")
      }
    }
</script>
</body>
</html>

```

And in template email :

```auto
 https://myurl.com?r={{link | url_encode }}

```

---

<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 4, 2021, 2:06pm UTC](https://community.auth0.com/t/re-use-same-password-less-email-link/71247/8 "2021-11-04T14:06:29Z")

</div>

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