terraform-provider-keycloak
terraform-provider-keycloak copied to clipboard
feat: add default client scope management on realm
My project need to apply created client-scopes as default to automatically assign the client-scope to each newly created client
Hey @Korsarro69, thanks for submitting this PR. I'm just curious if you have tried the keycloak_openid_client_default_scopes
resource for this use case, or if there was a reason why that didn't work for you.
I don't mind adding a resource for a single client scope, but we would probably want to make it clear in the docs why you might want to use one over the other.
Hello, I'm sorry for the very late response. I needed to assign a client scope in default client scopes, but without link it to a client. The resource keycloak_openid_client_default_scopes required a client
Hi, we are also interested in this feature. This is not linked to a specific client, but is a realm level configuration. It has its own endpoint in the Keycloak api (that is used in this PR).
Hi @mrparkers I agree, these options are not currently supported by the provider and is fixed by this PR, isn't it ?
@Korsarro69 If you rebase on top of master and push a new commit it will relaunch tests which where not able to run properly before :)