Which client_id is required for terraform provider

Hi,

I am attempting to setup a client and api via terraform. The terraform provider requires a client_id and client_secret. Which client/secret is this? I have tried the tenant global clientid and the Auth0 Management api client (which is default when creating a tenant I believe). The latter gives my a 401 “Invalid Token”.

What am I missing? All of this is being called via a remote build server in Azure Devops.

Thanks.
trevor

Hi @trevorc,

Welcome to the Community. You need to create a machine-to-machine client specifically for Terraform, and give that client access to the Management API.

1 Like

Thank you Mark. I discovered a similar approach in that the Mgmt Api app did not have all the permissions I thought it did. Your solution however, reminded me of the better way to do things and make applications specific to the task they serve. Thank you very much.

t

2 Likes

Teamwork makes the dreamwork!

1 Like

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