# Single email id with multiple user id's/accounts

**URL:** <https://community.auth0.com/t/single-email-id-with-multiple-user-ids-accounts/126854>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [February 8, 2024, 1:45pm UTC](https://community.auth0.com/t/single-email-id-with-multiple-user-ids-accounts/126854 "2024-02-08T13:45:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shivam2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/shivam2/32/54625_2.png) [@shivam2](https://community.auth0.com/u/shivam2)\
**Post date:** [February 8, 2024, 1:45pm UTC](https://community.auth0.com/t/single-email-id-with-multiple-user-ids-accounts/126854/1 "2024-02-08T13:45:31Z")

</div>

What if i used my custom DB to authenticate my users from auth0 having single email id which is assigned in multiple user id’s/accounts.

As of now in my current web application users can logged in, because in my custom DB UserId is primary key and we didn’t make email id as unique key. We used only UserId as a login parameter.

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [February 8, 2024, 4:46pm UTC](https://community.auth0.com/t/single-email-id-with-multiple-user-ids-accounts/126854/2 "2024-02-08T16:46:54Z")

</div>

Hi @shivam2

Welcome to the Auth0 Community!

Thank you for posting your question. Can you confirm that I understand correctly that in your custom database, the email address is not unique, so when users are trying to log in via Auth0 Universal Login, they are using an email address and can’t log in because the script is finding multiple users associated with the email address.

Can you share more details about the login process to your application and the custom database script you are using to sign up and log in to your users?

About User profile structure, you can read here → [User Profile Structure](https://auth0.com/docs/manage-users/user-accounts/user-profiles/user-profile-structure)

Thanks  
Dawid

---

<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:** [February 28, 2024, 11:56pm UTC](https://community.auth0.com/t/single-email-id-with-multiple-user-ids-accounts/126854/3 "2024-02-28T23:56:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [February 28, 2024, 11:57pm UTC](https://community.auth0.com/t/single-email-id-with-multiple-user-ids-accounts/126854/4 "2024-02-28T23:57:05Z")

</div>

Hi @shivam2

I’m closing this topic. Please feel free to reach out if you will have more questions.

Thanks  
Dawid
