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
{{ message }}
Repository navigation
Overriding default keycloak config with equivalent quarkus config
#16558
I am trying to set certain logging configurations that are not yet exposed via the keycloak config, so I am using quarkus.properties. However, some of the configs are exposed and therefore defaulted. It appears that since these are defaulted, if i set them in quarkus.properties and do not set them in keycloak.conf, the defaults override what I am setting in quarkus.properties.
This is problematic for two reasons: 1) it makes certain configuration categories split between the two files and 2) it means that if Keycloak exposes the config later, it will have an unexpected behavior change. Hyrum's Law strikes again, i guess
My questions are: Is my observation what you would expect? (maybe i'm doing something wrong here). If it is expected behavior, is it worth revisiting how this works?
Edit:
I must've skipped over this from the docs:
Note that some quarkus properties are mapped by the Keycloak configuration, for example quarkus.http.port and similar properties that are needed to configure Keycloak. If the property is used by Keycloak, defining the same underlying property key in quarkus.properties will have no effect, as the keycloak configuration value takes precedence over the quarkus property value.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I am trying to set certain logging configurations that are not yet exposed via the keycloak config, so I am using
quarkus.properties. However, some of the configs are exposed and therefore defaulted. It appears that since these are defaulted, if i set them inquarkus.propertiesand do not set them inkeycloak.conf, the defaults override what I am setting inquarkus.properties.This is problematic for two reasons: 1) it makes certain configuration categories split between the two files and 2) it means that if Keycloak exposes the config later, it will have an unexpected behavior change. Hyrum's Law strikes again, i guess
My questions are: Is my observation what you would expect? (maybe i'm doing something wrong here). If it is expected behavior, is it worth revisiting how this works?
Edit:
I must've skipped over this from the docs:
I guess this turns into a feature request.
All reactions