# I want to prevent multiple accounts from being created with social login

**URL:** <https://community.auth0.com/t/i-want-to-prevent-multiple-accounts-from-being-created-with-social-login/65256>\
**Category:** Get Help\
**Created:** [June 29, 2021, 10:03am UTC](https://community.auth0.com/t/i-want-to-prevent-multiple-accounts-from-being-created-with-social-login/65256 "2021-06-29T10:03:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nnahito](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nnahito/32/15686_2.png) [@nnahito](https://community.auth0.com/u/nnahito)\
**Post date:** [June 29, 2021, 10:03am UTC](https://community.auth0.com/t/i-want-to-prevent-multiple-accounts-from-being-created-with-social-login/65256/1 "2021-06-29T10:03:04Z")

</div>

With Auth0, both registration and login are the same screen and the same URL.

For example, a user first registers as a member using Facebook.  
If the same user accidentally logs in with Twitter the next time they visit, they will be registered as a new member.  
As a result, the user will have two accounts, one on Facebook and one on Twitter.  
I want to prevent this from happening.

Please tell me how to do that.

Thank you very much.

---

<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:** [June 29, 2021, 11:20am UTC](https://community.auth0.com/t/i-want-to-prevent-multiple-accounts-from-being-created-with-social-login/65256/2 "2021-06-29T11:20:26Z")

</div>

That’s why we have account linking:

> **[Link User Accounts](https://auth0.com/docs/manage-users/user-accounts/user-account-linking/link-user-accounts)**
>
> Understand how to link user accounts from various identity providers, so your users can authenticate from any account and be recognized by your app.

> **[User Account Linking](https://auth0.com/docs/manage-users/user-accounts/user-account-linking)**
>
> Understand how user accounts can be linked in Auth0 from various identity providers.

> **[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.

---

<div class="post-metadata">

**Author:** ![nnahito](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nnahito/32/15686_2.png) [@nnahito](https://community.auth0.com/u/nnahito)\
**Post date:** [June 30, 2021, 2:57am UTC](https://community.auth0.com/t/i-want-to-prevent-multiple-accounts-from-being-created-with-social-login/65256/3 "2021-06-30T02:57:50Z")

</div>

Thank you for your answer.  
I have looked at this and it looks like it is using the email address as a key to identify the user.  
How do you identify users whose email address cannot be obtained, such as LINE users?

---

<div class="post-metadata">

**Author:** ![evansims](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/evansims/32/27011_2.png) [@evansims](https://community.auth0.com/u/evansims)\
**Post date:** [June 30, 2021, 3:12am UTC](https://community.auth0.com/t/i-want-to-prevent-multiple-accounts-from-being-created-with-social-login/65256/4 "2021-06-30T03:12:39Z")

</div>

Hey @nnahito 👋 [LINE provides email addresses through OIDC](https://developers.line.biz/en/docs/line-login/integrate-line-login/#applying-for-email-permission), although it requires a permission be applied for and enabled on LINE’s side prior to that social connection being added to Auth0.

To my knowledge, (and @konrad.sopala please feel free to correct me if I’m wrong) all of Auth0’s baked in social connections use email addresses, which ensures account linking is reliable.

---

<div class="post-metadata">

**Author:** ![nnahito](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nnahito/32/15686_2.png) [@nnahito](https://community.auth0.com/u/nnahito)\
**Post date:** [June 30, 2021, 5:59am UTC](https://community.auth0.com/t/i-want-to-prevent-multiple-accounts-from-being-created-with-social-login/65256/5 "2021-06-30T05:59:53Z")

</div>

Thank you for your reply.

I see, with LINE, it is possible to get the option.  
So what should I do for a passwordless login phone number?

My assumption is that I will only use phone number, Facebook, Twitter, LINE, and Apple login.

---

<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:** [June 30, 2021, 12:15pm UTC](https://community.auth0.com/t/i-want-to-prevent-multiple-accounts-from-being-created-with-social-login/65256/6 "2021-06-30T12:15:22Z")

</div>

Yep that is totally correct

---

<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:** [July 15, 2021, 12:15pm UTC](https://community.auth0.com/t/i-want-to-prevent-multiple-accounts-from-being-created-with-social-login/65256/7 "2021-07-15T12:15:35Z")

</div>

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