# Do you have a valid link for the auth0 rule "link-users-by-email"?

**URL:** <https://community.auth0.com/t/do-you-have-a-valid-link-for-the-auth0-rule-link-users-by-email/43309>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [May 20, 2020, 11:31am UTC](https://community.auth0.com/t/do-you-have-a-valid-link-for-the-auth0-rule-link-users-by-email/43309 "2020-05-20T11:31:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexab](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alexab/32/13403_2.png) [@alexab](https://community.auth0.com/u/alexab)\
**Post date:** [May 20, 2020, 11:31am UTC](https://community.auth0.com/t/do-you-have-a-valid-link-for-the-auth0-rule-link-users-by-email/43309/1 "2020-05-20T11:31:34Z")

</div>

I am trying to develop a rule that will link users with the same email.

The thing is that all links in the community/Google results in 404’s - do you have a valid link to this rule?

Thanks in advance 👍

---

<div class="post-metadata">

**Author:** ![john.gateley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john.gateley/32/10879_2.png) [@john.gateley](https://community.auth0.com/u/john.gateley)\
**Post date:** [May 20, 2020, 2:21pm UTC](https://community.auth0.com/t/do-you-have-a-valid-link-for-the-auth0-rule-link-users-by-email/43309/2 "2020-05-20T14:21:36Z")

</div>

Hi Alex

This rule has been deprecated due to security issues.  
Use the account linking extension instead.

John

---

<div class="post-metadata">

**Author:** ![alexab](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alexab/32/13403_2.png) [@alexab](https://community.auth0.com/u/alexab)\
**Post date:** [May 20, 2020, 5:11pm UTC](https://community.auth0.com/t/do-you-have-a-valid-link-for-the-auth0-rule-link-users-by-email/43309/3 "2020-05-20T17:11:19Z")

</div>

Hi John.

The account linking extension looks promising - I will read more into this. Maybe Auth0 should throw out some redirects?

---

<div class="post-metadata">

**Author:** ![alexab](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alexab/32/13403_2.png) [@alexab](https://community.auth0.com/u/alexab)\
**Post date:** [May 20, 2020, 5:47pm UTC](https://community.auth0.com/t/do-you-have-a-valid-link-for-the-auth0-rule-link-users-by-email/43309/4 "2020-05-20T17:47:09Z")

</div>

Hi @john.gateley - do you know if the auth0 extension is actively supported? An [issue like this](https://github.com/auth0-extensions/auth0-account-link-extension/issues/56), with no responses from Auth0 makes me a bit scared of implementing it in production?

Uhh - even more depressing with [this issue](https://github.com/auth0-extensions/auth0-account-link-extension/issues/59).

In our solution we are only using passwordless and Google auth. Therefore e-mails are always verified. Would that not make automatic account linking safe enough?

---

<div class="post-metadata">

**Author:** ![john.gateley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john.gateley/32/10879_2.png) [@john.gateley](https://community.auth0.com/u/john.gateley)\
**Post date:** [May 20, 2020, 6:03pm UTC](https://community.auth0.com/t/do-you-have-a-valid-link-for-the-auth0-rule-link-users-by-email/43309/5 "2020-05-20T18:03:59Z")

</div>

Hi Alex,

Yes, the account linking extensions is supported. The official docs are here:

> **[Account Link Extension](https://auth0.com/docs/customize/extensions/account-link-extension)**
>
> Learn about the Account Link extension, which allows users with two accounts with the same email to be prompted to link them.

On those threads you posted, the original poster made comments after a cleanup bot had marked the thread as closed. We should have caught it, but I suspect the bot closing it removed it from the radar. If that ever happens, just start a new thread.

I cannot comment on the security of the scenario you are talking about. It avoids the major issue I know of, but I would need a security review before I could give it the thumbs up.

It is vulnerable to the scenario where a few months down the road you add a username/password DB into the equation and then the large security hole is open, unless you remember to come back and fix the rule.

John

---

<div class="post-metadata">

**Author:** ![alexab](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alexab/32/13403_2.png) [@alexab](https://community.auth0.com/u/alexab)\
**Post date:** [May 20, 2020, 6:12pm UTC](https://community.auth0.com/t/do-you-have-a-valid-link-for-the-auth0-rule-link-users-by-email/43309/6 "2020-05-20T18:12:46Z")

</div>

Thanks so much for answering 🙏 I will go ahead with the extension then, and try it out.

Hi @john.gateley - I currently struggle with 2 issues with the account link extension, just mentioning here fyi:

- [Does the account link extension support passwordless as primary account?](http://community.auth0.com/t/does-the-account-link-extension-support-passwordless-as-primary-account/43343)
- [Does the account link extension rule finish before executing the next rule?](http://community.auth0.com/t/does-the-account-link-extension-rule-finish-before-executing-the-next-rule/43345)

Thanks for your help so far, but I hope I can nail this problem soon 🤔

---

<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:** [June 4, 2020, 6:12pm UTC](https://community.auth0.com/t/do-you-have-a-valid-link-for-the-auth0-rule-link-users-by-email/43309/7 "2020-06-04T18:12:49Z")

</div>

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