
resource "auth0_client" "client" {
  name            = "MOP ${local.service_name}${local.workspace["iam_suffix"]} (Managed by Terraform)"
  #description     = ""
  app_type        = "non_interactive"
  is_first_party  = true
  oidc_conformant = false
  grant_types     = ["client_credentials"]
  client_metadata = {
    identity_id = "50f24a8c-4845-4b69-83a9-00d53f1d7da2"
  }
}

resource "auth0_client_grant" "client_grant" {
  client_id = auth0_client.client.id
  audience  = "https://gateway.${local.deploy_env_name}.netfoundry.io/"
  scope     = ["ignored"]
}


