Problem
Auth0 is deprecating the enabled_clients field on a connection object in the context of getting/updating connections, see deprecation note.
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? If so, when is a change to the new dedicated endpoints ( Welcome to Auth0 Docs - Auth0 Docs
and Welcome to Auth0 Docs - Auth0 Docs) planned?
We’re on v 1.34 of auth0-terraform and there is no mention of an update in the release notes for new versions.
1 Like
Hi @sascha.picard1
Welcome to the Auth0 Community!
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
1 Like
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
Can you pls provide more guidance here? Can share TF code if needed.
Thanks for the extra info.
Since the deprecation of the enabled_clients parameter for the aforementioned endpoints took effect, it appears that the Terraform documentation has been adjusted accordingly by adding the auth0_connection_clients and auth_connection_client resources in order to manage the clients.
However, I understand you confusion that enabled_clients does not appear as a parameter for the auth0_connection resource, even though it is still available within the Management API one.
I have yet to receive any updates regarding the matter, however, are you able to use enabled_clients when creating a connection or does it throw an error? If you receive an error, you will need to manage the clients using the resources managed above.
If I can help with any other questions, let me know!
Kind Regards,
Nik
Hi Nik,
I dug deeper and on Migrate Enabled Client Management to Dedicated Connection Endpoints 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
1 Like