This repository has been archived by the owner on Mar 8, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 149
Creating a client with is_first_party = false requires terraform applying twice #96
Labels
Comments
Note - when I manually create a new client via curl, it works as expected: curl -H "Authorization: Bearer REDACTED" -X POST -H "Content-Type: application/json" -d '{"name":"foobar 2","is_first_party":false}' "https://REDACTED.auth0.com/api/v2/clients" Auth0 returns
|
Also, I'm seeing the exact same behavior when I set the |
laurentdutheil
pushed a commit
to laurentdutheil/terraform-provider-auth0
that referenced
this issue
Aug 27, 2019
This issue is stale because it has been open 30 days with no activity. |
Hi @oderby, it took a while 😅 but I have the feeling I came up with a solution. It's pending in a PR now but I'll merge soon after some more testing. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Noticing a strange behavior when trying to create third party clients (applications) via terraform (that is, when
is_third_party = false
) - the flag does not appear to take when the client is created, but does on subsequent updates.When running
TF_LOG=DEBUG AUTH0_DEBUG=1 terraform apply
, see the following relevant outputs (full output can be viewed here)Note, even in the response to the creation POST, Auth0 responds with
"is_first_party":true
.Subsequently applying yields this plan:
and the modification succeeds.
The text was updated successfully, but these errors were encountered: