# Enterprise connection login issue

**URL:** <https://community.auth0.com/t/enterprise-connection-login-issue/108052>\
**Category:** Get Help\
**Tags:** login-prompt-new-experience, login-experience\
**Created:** [May 30, 2023, 1:29am UTC](https://community.auth0.com/t/enterprise-connection-login-issue/108052 "2023-05-30T01:29:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![atazurelab](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@atazurelab](https://community.auth0.com/u/atazurelab)\
**Post date:** [May 30, 2023, 1:29am UTC](https://community.auth0.com/t/enterprise-connection-login-issue/108052/1 "2023-05-30T01:29:25Z")

</div>

I have created a user [testuser@somegooglespace.com](mailto:testuser@somegooglespace.com), using connection Username-Password-Authentication. I have setup enterprise IDP using google workspace. now when i login with [testuser@somegooglespace.com](mailto:testuser@somegooglespace.com) using GSpace, i find another entry with same email id in the user list but with different connection (Google-Workspace). Why is new user created. why cant auth0 update existing user connection info. I need the same user to login using GSpace and it should not create new user.

---

<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:** [May 30, 2023, 6:22am UTC](https://community.auth0.com/t/enterprise-connection-login-issue/108052/2 "2023-05-30T06:22:10Z")

</div>

Hey there!

That’s how it works by default. So every time the user use new method even though they can be using the same email they will be treated as different identities. In order to have them treated as one by the system you need to perform account linking.

> **[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:** ![atazurelab](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@atazurelab](https://community.auth0.com/u/atazurelab)\
**Post date:** [May 30, 2023, 11:14am UTC](https://community.auth0.com/t/enterprise-connection-login-issue/108052/3 "2023-05-30T11:14:41Z")

</div>

Hi Konard,  
Thanx for your time and sharing the info. I understood that i need to link the account.

But somehow i am not able to use my first user account which is using Username-Password-Authentication connection because second user having same emailid is linked to enterprise IDP, which authenticates user as soon as i enter userId.

Any idea how can use these both user accounts for login or i can decide which connection/IDP to use for authentication ?

Thanx.

---

<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 13, 2023, 11:14am UTC](https://community.auth0.com/t/enterprise-connection-login-issue/108052/4 "2023-06-13T11:14:59Z")

</div>

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