You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Client CRD includes settings for authorization services. When an authorization policy contains a check for a required role, then the reconciliation will fail as client roles are reconciled after client reconciliation. I've seen that it affects the creation of new clients only.
Discussion
No response
Motivation
Besides Client CR, there's no other way to provide authorization settings to the operator/Keycloak.
We need to split authorizationSettings from the client reconciliation process and extract it to its own reconciliation logic. Then, that extracted logic should be called after client roles (or default client roles) reconciliation.
Description
The Client CRD includes settings for authorization services. When an authorization policy contains a check for a required role, then the reconciliation will fail as client roles are reconciled after client reconciliation. I've seen that it affects the creation of new clients only.
Discussion
No response
Motivation
Besides Client CR, there's no other way to provide authorization settings to the operator/Keycloak.
Details
In
keycloak-realm-operator/pkg/controller/keycloakclient/keycloakclient_reconciler.go
Line 31 in f0b2224
keycloak-realm-operator/pkg/controller/keycloakclient/keycloakclient_reconciler.go
Lines 35 to 59 in f0b2224
We need to split
authorizationSettings
from the client reconciliation process and extract it to its own reconciliation logic. Then, that extracted logic should be called after client roles (or default client roles) reconciliation.Ideally, keycloak/keycloak#16998 should be resolved in advance.
The text was updated successfully, but these errors were encountered: