From f27076a5ccf786a2bc0cebdd68f84209efe2b649 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 24 Apr 2025 13:12:02 +0200 Subject: [PATCH] Solved concate bug --- roles/docker-keycloak/templates/import/realm.json.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/docker-keycloak/templates/import/realm.json.j2 b/roles/docker-keycloak/templates/import/realm.json.j2 index d328eb18..6eb88a66 100644 --- a/roles/docker-keycloak/templates/import/realm.json.j2 +++ b/roles/docker-keycloak/templates/import/realm.json.j2 @@ -837,10 +837,10 @@ {%- for application, domain in domains.items() %} {%- if applications[application] is defined and (applications | get_oauth2_enabled(application) or applications | get_oidc_enabled(application)) %} {%- if domain is string %} - {%- set _ = redirect_uris.append("{{ web_protocol }}://{}/*".format(domain)) %} + {%- set _ = redirect_uris.append(web_protocol ~ '://' ~ domain ~ '/*') %} {%- else %} {%- for d in domain %} - {%- set _ = redirect_uris.append("{{ web_protocol }}://{}/*".format(d)) %} + {%- set _ = redirect_uris.append(web_protocol ~ '://' ~ d ~ '/*') %} {%- endfor %} {%- endif %} {%- endif %}