# How to prompt to join the account when signing up via the same email of the existing facebook account?

**URL:** <https://community.auth0.com/t/how-to-prompt-to-join-the-account-when-signing-up-via-the-same-email-of-the-existing-facebook-account/20653>\
**Category:** Get Help\
**Tags:** signup, auth0\
**Created:** [January 29, 2019, 12:31am UTC](https://community.auth0.com/t/how-to-prompt-to-join-the-account-when-signing-up-via-the-same-email-of-the-existing-facebook-account/20653 "2019-01-29T00:31:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ron.liu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ron.liu/32/10510_2.png) [@ron.liu](https://community.auth0.com/u/ron.liu)\
**Post date:** [January 29, 2019, 12:31am UTC](https://community.auth0.com/t/how-to-prompt-to-join-the-account-when-signing-up-via-the-same-email-of-the-existing-facebook-account/20653/1 "2019-01-29T00:31:44Z")

</div>

Hi experts,  
I am very new to Auth0, and right now I am maintaining an existing project with auth0 already setup.

Currently, it has an issue as the below reproduce steps:

1. User sign up with facebook with email addr: [user@example.com](mailto:user@example.com)
2. User sign up with email with the same his email’s from facebook  
Our system ends up with 2 separated accounts.  
The expected behaviour should be: prompt that there is an existing user, and do you want to join?

I don’t know where the logic exists, could anyone give me some hints? Thanks

Regards,  
Ron

---

<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:** [January 29, 2019, 10:36am UTC](https://community.auth0.com/t/how-to-prompt-to-join-the-account-when-signing-up-via-the-same-email-of-the-existing-facebook-account/20653/2 "2019-01-29T10:36:17Z")

</div>

Hey there @ron.liu!

The behaviour is totally correct. To describe you how it works. As you said if you have a user with email adress: [xyz@mail.com](mailto:xyz@mail.com) and he signs up using login (email) + password and then using this same email in any other connection whether it’s Linkedin, Facebook whatever, it will be treated as separate users.

To make it work as one user you should use our **account linking** feature that is described step by step here:

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

---

<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:** [February 6, 2019, 6:18pm UTC](https://community.auth0.com/t/how-to-prompt-to-join-the-account-when-signing-up-via-the-same-email-of-the-existing-facebook-account/20653/4 "2019-02-06T18:18:24Z")

</div>

Have you had a chance to check the docs I provided above?

---

<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:** [February 15, 2019, 9:16am UTC](https://community.auth0.com/t/how-to-prompt-to-join-the-account-when-signing-up-via-the-same-email-of-the-existing-facebook-account/20653/5 "2019-02-15T09:16:50Z")

</div>


