mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-02-22 12:29:39 +01:00
Solved comma bug
This commit is contained in:
parent
07beddb5a2
commit
7ce58a7203
@ -833,19 +833,20 @@
|
|||||||
"alwaysDisplayInConsole": false,
|
"alwaysDisplayInConsole": false,
|
||||||
"clientAuthenticatorType": "client-secret",
|
"clientAuthenticatorType": "client-secret",
|
||||||
"secret": "{{oidc.client.secret}}",
|
"secret": "{{oidc.client.secret}}",
|
||||||
"redirectUris": [
|
{%- set redirect_uris = [] %}
|
||||||
{%- for application, domain in domains.items() -%}
|
{%- for application, domain in domains.items() %}
|
||||||
{%- if applications[application] is defined and ( applications | get_oauth2_enabled(application) or applications | get_oidc_enabled(application)) -%}
|
{%- if applications[application] is defined and (applications | get_oauth2_enabled(application) or applications | get_oidc_enabled(application)) %}
|
||||||
{%- if domain is string -%}
|
{%- if domain is string %}
|
||||||
"https://{{ domain }}/*"{% if not loop.last %},{% endif %}
|
{%- set _ = redirect_uris.append("https://{}/*".format(domain)) %}
|
||||||
{%- else -%}
|
{%- else %}
|
||||||
{%- for d in domain -%}
|
{%- for d in domain %}
|
||||||
"https://{{ d }}/*"{% if not (loop.last and loop.parent.last) %},{% endif %}
|
{%- set _ = redirect_uris.append("https://{}/*".format(d)) %}
|
||||||
{%- endfor -%}
|
{%- endfor %}
|
||||||
{%- endif -%}
|
{%- endif %}
|
||||||
{%- endif -%}
|
{%- endif %}
|
||||||
{%- endfor -%}
|
{%- endfor %}
|
||||||
],
|
|
||||||
|
"redirectUris": {{ redirect_uris | tojson }},
|
||||||
"webOrigins": [
|
"webOrigins": [
|
||||||
"https://*.{{primary_domain}}"
|
"https://*.{{primary_domain}}"
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user