# Domain Level Connection is disabled

**URL:** <https://community.auth0.com/t/domain-level-connection-is-disabled/60294>\
**Category:** Get Help\
**Tags:** idp-initiated, connections\
**Created:** [March 30, 2021, 9:39am UTC](https://community.auth0.com/t/domain-level-connection-is-disabled/60294 "2021-03-30T09:39:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cristian.deac](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cristian.deac/32/25113_2.png) [@cristian.deac](https://community.auth0.com/u/cristian.deac)\
**Post date:** [March 30, 2021, 9:39am UTC](https://community.auth0.com/t/domain-level-connection-is-disabled/60294/1 "2021-03-30T09:39:23Z")

</div>

Hello,  
I have a connection which I have promote to domain level. According to documentation, I expect that all the clients should have access to it now so I removed all the entries from enabled\_clients.  
The behaviour I did not expect is that the connection seems to be disabled now.  
When I test the connection trough play button from auth0, “error”: “invalid\_request”, “error\_description”: “the connection was disabled” message is displayed.  
It is necessary to have something in enabled\_clients in order to have the connection enabled?

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [March 31, 2021, 7:12pm UTC](https://community.auth0.com/t/domain-level-connection-is-disabled/60294/3 "2021-03-31T19:12:42Z")

</div>

Hi @cristian.deac,

> [@cristian.deac](#):
>
> It is necessary to have something in enabled\_clients in order to have the connection enabled?

Yes, that is correct. You can pass the Client ID of the applications that you’d like to enable the connection for. When a new application is created, the connection should be enabled by default.

---

<div class="post-metadata">

**Author:** ![cristian.deac](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cristian.deac/32/25113_2.png) [@cristian.deac](https://community.auth0.com/u/cristian.deac)\
**Post date:** [April 1, 2021, 8:05am UTC](https://community.auth0.com/t/domain-level-connection-is-disabled/60294/4 "2021-04-01T08:05:56Z")

</div>

Hey @stephanie.chamblee, thank you for your response.

> [@stephanie.chamblee](#):
>
> You can pass the Client ID of the applications that you’d like to enable the connection for.

The connection will be available for 3rd party clients, that is why it is a domain level connection. 3rd party clients cannot be added in enabled\_clients:

> “statusCode”:400,“error”:“Bad Request”,“message”:“third party clients are only allowed on domain level connections”

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [April 1, 2021, 12:54pm UTC](https://community.auth0.com/t/domain-level-connection-is-disabled/60294/5 "2021-04-01T12:54:31Z")

</div>

Sorry about that, I missed that this is for third-party applications.

You are correct. `enabled_clients` only need to be listed for first-party clients when the connection is set to the domain level. The domain connections should be available automatically for third-party apps.

Are you using the Classic Login Experience? If so, you’ll need to include `__useTenantInfo: config.isThirdPartyClient` in the lock configs.

If that isn’t it, would you mind private messaging me your tenant name so that I can replicate your settings? Thank you!

[https://auth0.com/docs/applications/enable-third-party-applications?\_ga=2.245469380.1353982928.1617016470-1595415333.1607347674](https://auth0.com/docs/applications/enable-third-party-applications?_ga=2.245469380.1353982928.1617016470-1595415333.1607347674)

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [April 1, 2021, 1:01pm UTC](https://community.auth0.com/t/domain-level-connection-is-disabled/60294/6 "2021-04-01T13:01:22Z")

</div>

Also, you’ll have to test the connection from the third-party app. The test button will only test connections enabled for first-party applications.

For example, when I press the play button in connections, I get an error:  
 ![disabled-connection](https://global.discourse-cdn.com/auth0/original/3X/c/a/ca5c9c7743529ecc1bb18df7371e527bd8c6efa0.gif)

But when I log in from a third-party app, I am able to use the connection:

 ![Screen Shot 2021-04-01 at 9.02.34 AM](https://global.discourse-cdn.com/auth0/original/3X/7/3/73947137a3ee358695b7cee37548e75ea53b0684.png)

---

<div class="post-metadata">

**Author:** ![cristian.deac](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cristian.deac/32/25113_2.png) [@cristian.deac](https://community.auth0.com/u/cristian.deac)\
**Post date:** [April 6, 2021, 11:26am UTC](https://community.auth0.com/t/domain-level-connection-is-disabled/60294/7 "2021-04-06T11:26:03Z")

</div>

Good catch @stephanie.chamblee. The confusion was created by the “Try” button. I tested the connection from the 3rd party app as suggested and everything look good.  
Thank you!

---

<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:** [April 21, 2021, 11:26am UTC](https://community.auth0.com/t/domain-level-connection-is-disabled/60294/8 "2021-04-21T11:26:23Z")

</div>

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