# Deprecation of \`enabled\_clients\` when using auth0-terraform

**URL:** <https://community.auth0.com/t/deprecation-of-enabled-clients-when-using-auth0-terraform/197826>\
**Category:** Get Help\
**Tags:** connections-management-api, management-api\
**Created:** [March 3, 2026, 12:39pm UTC](https://community.auth0.com/t/deprecation-of-enabled-clients-when-using-auth0-terraform/197826 "2026-03-03T12:39:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sascha.picard1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sascha.picard1/32/60022_2.png) [@sascha.picard1](https://community.auth0.com/u/sascha.picard1)\
**Post date:** [March 3, 2026, 12:39pm UTC](https://community.auth0.com/t/deprecation-of-enabled-clients-when-using-auth0-terraform/197826/1 "2026-03-03T12:39:46Z")

</div>

**Problem**

Auth0 is deprecating the `enabled_clients` field on a connection object in the context of getting/updating connections, see [deprecation note](https://auth0.com/docs/troubleshoot/product-lifecycle/deprecations-and-migrations#legacy-management-of-connection%E2%80%99s-enabled-clients).  
We see depnote events in the logstream for a production tenant, not tied to a terraform release.

**Question**

Does auth0-terraform use those deprecated calls to implement setting/reading enabled\_clients on the [Connection Resource](https://registry.terraform.io/providers/auth0/auth0/latest/docs/data-sources/connection)? If so, when is a change to the new dedicated endpoints ( [Welcome to Auth0 Docs - Auth0 Docs](https://auth0.com/docs/api/management/v2/connections/get-connection-clients)  
and [Welcome to Auth0 Docs - Auth0 Docs](https://auth0.com/docs/api/management/v2/connections/patch-clients)) planned?

We’re on v 1.34 of auth0-terraform and there is no mention of an update in the [release notes](https://github.com/auth0/terraform-provider-auth0/releases) for new versions.

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [March 3, 2026, 4:18pm UTC](https://community.auth0.com/t/deprecation-of-enabled-clients-when-using-auth0-terraform/197826/3 "2026-03-03T16:18:26Z")

</div>

Hi @sascha.picard1

Welcome to the Auth0 Community!

I understand that you are asking why the `enabled_clients` parameter is not available in the [Terraform](https://registry.terraform.io/providers/auth0/auth0/latest/docs) `auth0_connection` resource, even though it remains available in the Auth0 Management API.

The `auth0_connection` resource should be using the new Management API endpoints specified in the deprecation notes instead of the old ones.

Can you confirm that you experience issues in using the specific resource to read/update the `enabled_clients` values?

I will investigate internally in regards to the specific resource and confirm that they have been migrated to the new endpoints.

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![sascha.picard1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sascha.picard1/32/60022_2.png) [@sascha.picard1](https://community.auth0.com/u/sascha.picard1)\
**Post date:** [March 6, 2026, 9:45am UTC](https://community.auth0.com/t/deprecation-of-enabled-clients-when-using-auth0-terraform/197826/4 "2026-03-06T09:45:35Z")

</div>

Hi Nik,

Sorry, I see that we’re still defining `enabled_clients` using the `auth0_connection_clients`.

However, I don’t see an `enabled_clients` (or similiar) option in [Terraform Registry](https://registry.terraform.io/providers/auth0/auth0/latest/docs/resources/connection)

Can you pls provide more guidance here? Can share TF code if needed.

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [March 11, 2026, 7:33pm UTC](https://community.auth0.com/t/deprecation-of-enabled-clients-when-using-auth0-terraform/197826/5 "2026-03-11T19:33:19Z")

</div>

Thank you for the added information!

The `enabled_clients` parameter was deprecated and removed from the Terraform Auth0 provider. After this deprecation took effect, the Terraform documentation was updated to introduce replacement resources for managing client connections.

**Root Cause:** The Terraform Auth0 provider deprecated the `enabled_clients` parameter for the `auth0_connection` resource to align with a broader API design change. However, the parameter remains available in the Auth0 Management API itself, creating a discrepancy between the two interfaces.

**Solution:** Use the dedicated [Terraform resources](https://registry.terraform.io/providers/auth0/auth0/latest/docs/resources/connection_client) to manage client connections instead of `enabled_clients`.

1. **Replace** the `enabled_clients` parameter with the `auth0_connection_clients` resource to manage which clients are associated with a connection.

2. **Use** the `auth0_connection_client` resource (singular) to manage individual client-connection associations if you need fine-grained control.

3. **Verify** your Terraform configuration uses these resources instead of attempting to pass `enabled_clients` directly to the `auth0_connection` resource.

**If you are using the Management API directly:** The `enabled_clients` parameter is still available in the [Auth0 Management API](https://auth0.com/docs/api/management/v2/connections/post-connections) and can be used when creating or updating connections through API calls. This parameter is not deprecated in the API itself—only in the Terraform provider.

**Important note:** If you attempt to use `enabled_clients` with the Terraform provider and receive an error, you must use the `auth0_connection_clients` or `auth0_connection_client` resources instead. The Terraform provider no longer accepts this parameter.

Please follow up if you need further assistance with Terraform resource configuration.

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![sascha.picard1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sascha.picard1/32/60022_2.png) [@sascha.picard1](https://community.auth0.com/u/sascha.picard1)\
**Post date:** [March 12, 2026, 7:45am UTC](https://community.auth0.com/t/deprecation-of-enabled-clients-when-using-auth0-terraform/197826/6 "2026-03-12T07:45:12Z")

</div>

Hi Nik,  
I dug deeper and on [Migrate Enabled Client Management to Dedicated Connection Endpoints](https://auth0.com/docs/troubleshoot/product-lifecycle/deprecations-and-migrations/migrate-dedicated-connection-endpoints#update-sdks-and-tools) I read

> The Auth0 Deploy CLI / Auth0 Terraform Provider do not require changes to how connections and respective clients are represented in their data model. You must use the latest available version to guarantee the tool uses the dedicated endpoints.

This for Auth0 Terraform Provider: 1.29.0+.  
Given that we are on a newer version, I don’t understand why we see the depnote.

Hence I am thankful for more clarification.

Best

Sascha

---

<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:** [March 26, 2026, 7:45am UTC](https://community.auth0.com/t/deprecation-of-enabled-clients-when-using-auth0-terraform/197826/7 "2026-03-26T07:45:47Z")

</div>

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