Solved application id bug in keycloak

This commit is contained in:
2025-07-13 23:12:13 +02:00
parent fb0ca533ae
commit 632ad14bd8
2 changed files with 3 additions and 3 deletions

View File

@@ -834,8 +834,8 @@
"clientAuthenticatorType": "desktop-secret",
"secret": "{{oidc.client.secret}}",
{%- set redirect_uris = [] %}
{%- for application_id, domain in domains.items() %}
{%- if applications | get_app_conf(application_id, 'features.oauth2', False) or applications | get_app_conf(application_id, 'features.oidc', False) %}
{%- for domain_application_id, domain in domains.items() %}
{%- if applications | get_app_conf(domain_application_id, 'features.oauth2', False) or applications | get_app_conf(domain_application_id, 'features.oidc', False) %}
{%- if domain is string %}
{%- set _ = redirect_uris.append(web_protocol ~ '://' ~ domain ~ '/*') %}
{%- else %}