Closed manu11th closed 1 year ago
Hi @manu11th ,
I do believe that this is the actual behaviour of the keycloak distribution itself, and is not something introduced by the operator.
Do you want to elaborate on the reason for opening this issue in this repo other than in keycloak/keycloak
with a repro directly using the REST API?
Thanks (again) for reporting this issue. Keycloak 19 was the last version that included this legacy Operator, and with the release of Keycloak 20 the Operator reached EOL and this repository will be archived, please see our blog post on this topic. If this issue is still valid for the Realm Operator, please re-open it there. Thanks for your understanding. And be sure to check out our new Operator!
Describe the bug
A KeycloakRealm CR with
clientScopes
field defined and containing some self defined client scopes creates a realm at keycloak which only contains the self-defined client scopes and NOT the default client scopes like email, profile, address, roles, role_list, etc.Version
16.1.0
Expected behavior
When creating a KeycloakRealm CR with
clientScopes
field defined and containing some self defined client scopes, a realm is created which contains the self-defined client scopes AND the default client scopes like email, profile, roles, address, etc.Actual behavior
When creating a KeycloakRealm CR with
clientScopes
field defined and containing some self defined client scopes, a realm is created which only contains the self-defined client scopes and NOT the default client scopes like email, profile, address, roles, role_list, etc.How to Reproduce?
Create a realm with no client scopes defined:
Have a look into the keycloak UI and see all the default client scopes like email, address, role, etc.
Now create another realm with client scopes defined:
Have a look into the keycloak UI and compare the client scopes of the two created realms. The first contains all default client scopes, the second one only contains the self defined client scopes.
Anything else?