-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Labels
🪲 bugSomething isn't workingSomething isn't working
Description
Checklist
- I have looked into the README and have not found a suitable solution or answer.
- I have looked into the documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have upgraded to the latest version of this provider and the issue still persists.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
resource "auth0_client_grant" "auth0_management_client" {
client_id = auth0_client.auth0_management_client.id
audience = "https://${var.auth0_domain}/api/v2/"
scopes = [
"scope:myscope",
...
]
}
I previously had this working, but had not constrained the provider version upper limit, so when it used 1.39.0 it was failing with the above. I downgraded to 1.38.0 and it worked again. I think it might have to do with this change since that was the thing that stuck out in the most recent CHANGELOG.
Expectation
It should create the client grant ezpz.
Reproduction
Given: using provider version 1.39.0
When: providing scopes and not providing allow_all_scopes to a system level API using the auth0_client_grant resource
Then: it produces a "400 Bad Request: allow_all_scopes cannot be provided when audience is a system API"
Auth0 Terraform Provider version
1.39.0
Terraform version
1.5.5
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
🪲 bugSomething isn't workingSomething isn't working