ansible-middleware/keycloak

KC>22: Don't set (deprecated) `proxy` setting when `proxy-headers` are set

hwo-wd opened this issue · 0 comments

KC startup looks as follows:

WARN [org.keycloak.quarkus.runtime.cli.Picocli] (main) The following used options or option values are DEPRECATED and will be removed in a future release:
- proxy: Use proxy-headers.

and the keycloak.conf:

# Deprecated Proxy configuration
proxy=edge
# Proxy
proxy-headers=xforwarded

-> proxy should only pe set when keycloak_quarkus_proxy_headers are not set to get rid of the warning