# Multiple Connections per Organization

**URL:** <https://community.auth0.com/t/multiple-connections-per-organization/98549>\
**Category:** Get Help\
**Tags:** connections, login-experience, new-universal-login-experience\
**Created:** [January 20, 2023, 5:18am UTC](https://community.auth0.com/t/multiple-connections-per-organization/98549 "2023-01-20T05:18:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nisar.ahmad](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nisar.ahmad/32/42807_2.png) [@nisar.ahmad](https://community.auth0.com/u/nisar.ahmad)\
**Post date:** [January 20, 2023, 5:18am UTC](https://community.auth0.com/t/multiple-connections-per-organization/98549/1 "2023-01-20T05:18:01Z")

</div>

We’re using Universal Login with Organizations. We have 1 Enterprise Azure AD connection and multiple DB connections per organization. Since we have multiple environments and have to duplicate organization users per environment we’re achieving that by creating a separate DB connection per environment and enabling it for that organization. e.g. connections are like org1-dev, org1-demo etc.

We need to show both the username/password and the enterprise button on the login page. The problem is that the username/password doesn’t work until we specify the **connection** in the **Auth0ProviderOptions** of our React SPA app. But if we provide the connection then the ‘Enterprise login’ button disappears.

One solution that I’ve considered is duplicating organizations so that we have a one-to-one mapping between an organization and a DB connection. Ideally, I’d prefer not to duplicate organizations just to achieve this. Is there a better solution which allows me to specify the DB connection without hiding the Enterprise login button?

Thanks!

---

<div class="post-metadata">

**Author:** ![marcelina.barycka](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcelina.barycka/32/56162_2.png) [@marcelina.barycka](https://community.auth0.com/u/marcelina.barycka)\
**Post date:** [May 31, 2024, 9:31am UTC](https://community.auth0.com/t/multiple-connections-per-organization/98549/4 "2024-05-31T09:31:02Z")

</div>

Hi there, Nisar,

We are currently attempting to reduce our backlog of community posts to possibly help future visitors with similar questions -

> [@nisar.ahmad](#):
>
> We need to show the username/password and the enterprise button on the login page.

If both _database connection_ and _enterprise connection_ are enabled for the organization, the Universal login can show them both when users log in to their respective Organizations.

To do that, please mark the option to _Display Connection as a button_ (pic below) in the Auth0 tenant → Organizations-\> your specific Organization → Connections → choose the enterprise connection ‘View details’ (three horizontal dots) and mark the option.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/9/b/9b5fe42000b5b78d1ed9193eb9f42f7a57ca73e0.png)

This will work with both Authentication Profiles: [Identifier First](https://auth0.com/docs/authenticate/login/auth0-universal-login/identifier-first) and Identifier + Password.  
The pic below shows how hot this would look with Identfier First.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/f/a/fa472a302424422f57af0dad76d6b879b8e66f9a.png)

---

<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 14, 2024, 9:31am UTC](https://community.auth0.com/t/multiple-connections-per-organization/98549/5 "2024-06-14T09:31:37Z")

</div>

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