-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mismatch between arguments for auth0_client_grant #884
Comments
Can confirm it's happening on Quick work around is to go back to |
Hello everyone 👋🏻, Thank you for bringing this to our attention. The issue doesn't stem from a mismatch between the terraform config scopes and the API scope attribute. Occasionally, we enhance the developer experience by refining the naming conventions used in the API. Behind the scenes, the resource correctly maps and makes API calls. The current issue arises because the Go SDK we utilize doesn't allow the transmission of scopes as an empty array. However, this issue has been addressed in auth0/go-auth0#318. As soon as this fix is released, we will incorporate it into the provider. In the meantime, kindly ensure that client grants with non-empty scopes are created. Thank you for your understanding and patience. |
* Allow client grant scopes to be sent as an empty array * Update to go-auth0 v1.3.1 * Updating changelog --------- Co-authored-by: Ewan Harris <[email protected]> Co-authored-by: Will Vedder <[email protected]>
Fixed with v1.1.1. Thank you for submitting this issue! |
Checklist
Description
When creating a resource
auth0_client_grant
there seems to be a mismatch in the required configuration parameters andthe parameters actually passed to the Auth0 API.
The following config will result in errors when calling the API:
And
scope
is not a valid configuration parameter forauth0_client_grant
:Expectation
Either use
scope
orscopes
(wherescopes
is probably the correct term) and make sure that the API call uses the correct argument (scope
as described hereReproduction
See description.
Auth0 Terraform Provider version
1.1.0
Terraform version
1.6.4
The text was updated successfully, but these errors were encountered: