Skip to content

Commit fa3b64d

Browse files
feat: implement "hostname-backchannel-dynamic" Keycloak option
1 parent 4b03860 commit fa3b64d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

compose.e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66
KC_LOG_LEVEL: "debug"
77
KEYCLOAK_HTTPS_CERTIFICATE_FILE: /opt/bitnami/keycloak/certs/tls.crt
88
KEYCLOAK_HTTPS_CERTIFICATE_KEY_FILE: /opt/bitnami/keycloak/certs/tls.key
9-
KEYCLOAK_EXTRA_ARGS: "--features=\"hostname:v2,scripts,persistent-user-sessions:v1\" --import-realm"
9+
KEYCLOAK_EXTRA_ARGS: "--features=\"hostname:v2,scripts,persistent-user-sessions:v1\" --hostname-backchannel-dynamic=true --import-realm"
1010
volumes:
1111
- ./helm/api-platform/keycloak/certs/tls.crt:/opt/bitnami/keycloak/certs/tls.crt:ro
1212
- ./helm/api-platform/keycloak/certs/tls.pem:/opt/bitnami/keycloak/certs/tls.key:ro

compose.override.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ services:
5151
context: ./helm/api-platform/keycloak/
5252
target: keycloak
5353
environment:
54-
KEYCLOAK_EXTRA_ARGS: "--features=\"hostname:v2,scripts,persistent-user-sessions:v1\" --import-realm"
54+
KEYCLOAK_EXTRA_ARGS: "--features=\"hostname:v2,scripts,persistent-user-sessions:v1\" --hostname-backchannel-dynamic=true --import-realm"
5555
volumes:
5656
- ./helm/api-platform/keycloak/themes/api-platform-demo:/opt/bitnami/keycloak/themes/api-platform-demo
5757
- ./helm/api-platform/keycloak/config:/opt/bitnami/keycloak/data/import

compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ services:
8585
KEYCLOAK_HTTP_RELATIVE_PATH: /oidc/
8686
KEYCLOAK_HOSTNAME: https://${SERVER_NAME:-localhost}/oidc/
8787
KEYCLOAK_HOSTNAME_ADMIN: https://${SERVER_NAME:-localhost}/oidc/
88-
KEYCLOAK_EXTRA_ARGS: "--features=\"hostname:v2,scripts,persistent-user-sessions:v1\""
88+
KEYCLOAK_EXTRA_ARGS: "--features=\"hostname:v2,scripts,persistent-user-sessions:v1\" --hostname-backchannel-dynamic=true"
8989
depends_on:
9090
- keycloak-database
9191
ports:

helm/api-platform/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ keycloak:
117117
- name: KEYCLOAK_PRODUCTION
118118
value: "true"
119119
- name: KEYCLOAK_EXTRA_ARGS
120-
value: "--features=\"hostname:v2,scripts,persistent-user-sessions:v1\""
120+
value: "--features=\"hostname:v2,scripts,persistent-user-sessions:v1\" --hostname-backchannel-dynamic=true"
121121
# must finish with a trailing slash (https://github.com/bitnami/charts/issues/10885#issuecomment-1414279144)
122122
httpRelativePath: /oidc/
123123
proxy: edge

0 commit comments

Comments
 (0)