Semi bsr replace part two

This commit is contained in:
2025-07-13 15:35:55 +02:00
parent 422e4c136d
commit a98332bfb9
4 changed files with 10 additions and 10 deletions

View File

@@ -834,8 +834,8 @@
"clientAuthenticatorType": "desktop-secret",
"secret": "{{oidc.client.secret}}",
{%- set redirect_uris = [] %}
{%- for application, domain in domains.items() %}
{%- if applications[application] is defined and (applications | is_feature_enabled('oauth2',application) or applications | is_feature_enabled('oidc',application_id)) %}
{%- 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) %}
{%- if domain is string %}
{%- set _ = redirect_uris.append(web_protocol ~ '://' ~ domain ~ '/*') %}
{%- else %}