Solved multiple bugs like networking, variables etc. which occured on veen.world server

This commit is contained in:
2025-02-20 15:09:36 +01:00
parent 19aa38ac5d
commit 2f76ba32ec
13 changed files with 92 additions and 64 deletions

View File

@@ -834,19 +834,17 @@
"clientAuthenticatorType": "client-secret",
"secret": "{{oidc.client.secret}}",
"redirectUris": [
{%- set redirect_uris = [] -%}
{%- for application, domain in domains.items() -%}
{%- if applications[application_id] is defined and applications | get_oauth2_enabled(application_id) -%}
{%- if domain is string -%}
{%- set _ = redirect_uris.append("https://" ~ domain ~ "/*") -%}
"https://" {{ domain }} "/*",
{%- else -%}
{%- for d in domain -%}
{%- set _ = redirect_uris.append("https://" ~ domain ~ "/*") -%}
"https://" {{ domain }} "/*",
{%- endfor -%}
{%- endif -%}
{%- endif -%}
{%- endfor -%}
{{ redirect_uris | map('tojson') | join(",\n") }}
],
"webOrigins": [