Error when Running the Terraform Apply Command "403 Forbidden" on auth0_client Resource

Overview

When running the "Terraform apply" command, the following error message occurs:

Plan: 0 to add, 2 to change, 0 to destroy.
...
│ Error: 403 Forbidden: The account is not allowed to perform this operation, please contact our support team.

│ with auth0_client....,
│ on auth0_generated.tf line 1224, in resource "auth0_client" "...":
│ 1224: resource "auth0_client" "..." {

  • The error appears after generating a terraform config of a tenant using auth0 tf generate (auth0 cli).
  • The field require_pushed_authorization_requests is included in the auth0_client resource (the value true/false does not matter).
Applies To
  • Terraform
  • Auth0 CLI
Cause

The require_pushed_authorization_requests field can only be used in auth0_client resources when Push Authorization Requests (PAR) has been enabled on the tenant.

Solution

Remove the require_pushed_authorization_requests field from all auth0_client resources in their Auth0 Terraform Provider config.

Recommended content

No recommended content found...