Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Keycloak_client manages client scopes (keycloak 4.0+) #58111
Update the keycloak_client module to set/remove default client scopes and optional client scopes from clients. This feature was introduced in Keycloak 4.0 and replaces client templates.
Feature Pull Request
Keycloak 4.0 removed client_templates as a way to manage client settings when creating a new client. Instead, there are "default client scopes" and "optional client scopes". This update adds two parameter to manage the default client scopes and optional client scopes in clients for Keycloak 4.0 and above.
There are also realm level "default default client scopes" and "default optional client scopes" which set the respective "default client scopes" and "optional client scopes" of newly created clients where these are not specified. Since it is a realm feature, it is not managed here.