terraform-provider-keycloak icon indicating copy to clipboard operation
terraform-provider-keycloak copied to clipboard

There is no way to set AuthorizationServicesEnabled for OpenIDClient

Open ghost opened this issue 3 years ago • 0 comments

I want to set Authorization Enabled in thekeycloak_openid_client settings to true when creating ankeycloak_openid_client resource.

The documentation didn't have that setting. Looking at the keycloak API reference, the "AuthorizationServicesEnabled" setting was present. API, Type

"AuthorizationServicesEnabled" also exists in the source code type definition. https://github.com/mrparkers/terraform-provider-keycloak/blob/68ff664bf1de4c0a4fc157be6eb1653030d398eb/keycloak/openid_client.go#L44 However, the source code does not "data.Get()" when retrieving the data. https://github.com/mrparkers/terraform-provider-keycloak/blob/68ff664bf1de4c0a4fc157be6eb1653030d398eb/provider/resource_keycloak_openid_client.go#L251 Please change this to "data.Get" so that "AuthorizationServicesEnabled" can be set to "true". Thank you.

ghost avatar Dec 04 '20 01:12 ghost