# Problems with passwordless links

**URL:** <https://community.auth0.com/t/problems-with-passwordless-links/9667>\
**Category:** Get Help\
**Tags:** passwordless\
**Created:** [March 2, 2018, 6:08pm UTC](https://community.auth0.com/t/problems-with-passwordless-links/9667 "2018-03-02T18:08:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![floppy](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/floppy/32/3962_2.png) [@floppy](https://community.auth0.com/u/floppy)\
**Post date:** [March 2, 2018, 6:08pm UTC](https://community.auth0.com/t/problems-with-passwordless-links/9667/1 "2018-03-02T18:08:15Z")

</div>

We’re sending people passwordless links in the usual way, but not everyone manages to use them successfully.

I’ve not had problems myself despite numerous attempts to replicate, but others predictably fail. When they follow the links, they end up with an error “Wrong email or verification code” in the redirection URL. I’ve not found a pattern yet to explain why it might be happening - any ideas?

I know this is the same error that happens if you use a link twice, but the users haven’t done that, this is on first click. Are there email filters, etc that might be causing the link to be followed early and hence broken once it gets to the user?

---

<div class="post-metadata">

**Author:** ![jerdog](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jerdog/32/11231_2.png) [@jerdog](https://community.auth0.com/u/jerdog)\
**Post date:** [April 2, 2018, 5:33pm UTC](https://community.auth0.com/t/problems-with-passwordless-links/9667/2 "2018-04-02T17:33:57Z")

</div>

Are you still seeing this? If so, can you share the code you’re using to send passwordless links (without any sensitive info)?

---

<div class="post-metadata">

**Author:** ![fredrik.ekholdt](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@fredrik.ekholdt](https://community.auth0.com/u/fredrik.ekholdt)\
**Post date:** [April 24, 2018, 10:24am UTC](https://community.auth0.com/t/problems-with-passwordless-links/9667/3 "2018-04-24T10:24:38Z")

</div>

We have the same exact issue.  
Our code is not very exiting, but here it is (hope it is the snippet you are looking for @jerdog - tell me if not):

```
webAuth.passwordlessStart({
connection: 'email',
send: 'link',
email,
  }, (err) => {
if (err) {
  console.error('Could not initiate passwordless start', err);
  // do stuff.
} else {

}
  });

```

---

<div class="post-metadata">

**Author:** ![fredrik.ekholdt](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@fredrik.ekholdt](https://community.auth0.com/u/fredrik.ekholdt)\
**Post date:** [April 24, 2018, 10:32am UTC](https://community.auth0.com/t/problems-with-passwordless-links/9667/4 "2018-04-24T10:32:47Z")

</div>

Argh, that posted before I had formatted it. I suppose you’ll be able to see the gist of it though.

---

<div class="post-metadata">

**Author:** ![xavier.ho](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/xavier.ho/32/4829_2.png) [@xavier.ho](https://community.auth0.com/u/xavier.ho)\
**Post date:** [May 8, 2018, 3:08am UTC](https://community.auth0.com/t/problems-with-passwordless-links/9667/5 "2018-05-08T03:08:58Z")

</div>

Same problem here, with the same way to send passwordless links.

If it helps, the returned authorization fragment is `https://{origin}/authorise#error=unauthorized&error_description=Wrong%20email%20or%20verification%20code.&state=wZpE~0xy.rQXxb1sQ.CGJAL8f0ERDiMk`

---

<div class="post-metadata">

**Author:** ![jerdog](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jerdog/32/11231_2.png) [@jerdog](https://community.auth0.com/u/jerdog)\
**Post date:** [May 8, 2018, 1:27pm UTC](https://community.auth0.com/t/problems-with-passwordless-links/9667/6 "2018-05-08T13:27:25Z")

</div>

That error would seem to suggest maybe an expired verification code?

---

<div class="post-metadata">

**Author:** ![xavier.ho](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/xavier.ho/32/4829_2.png) [@xavier.ho](https://community.auth0.com/u/xavier.ho)\
**Post date:** [May 8, 2018, 11:22pm UTC](https://community.auth0.com/t/problems-with-passwordless-links/9667/7 "2018-05-08T23:22:58Z")

</div>

Hello - we worked out the problem. The passwordless link was indeed expired.

However it tripped us up because the iOS simulator doesn’t synchronise clipboards right away. So we wasted a morning copying and pasting links from our desktop email clients to the iOS web app to test - and sometimes we’d paste the old link without realising! ☹

---

<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:** [December 17, 2018, 11:07am UTC](https://community.auth0.com/t/problems-with-passwordless-links/9667/8 "2018-12-17T11:07:15Z")

</div>


