Skip to content

Commit f12a807

Browse files
johrstromltalirz
andauthored
openidc config template to support complex configs (#212)
* openidc config template to support complex configs * should also template key here Co-authored-by: Leopold Talirz <leopold.talirz@gmail.com> --------- Co-authored-by: Leopold Talirz <leopold.talirz@gmail.com>
1 parent beb8571 commit f12a807

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

templates/auth_openidc.conf.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
{% set _auth_openidc = default_auth_openidc | combine(ood_auth_openidc) %}
22
{% for key, value in _auth_openidc.items() %}
3+
{% if value is iterable and (value is not string and value is not mapping) %}
4+
{{ key }} {{ value | map('quote') | join(' ') }}
5+
{% else %}
36
{{ key }} {{ value | quote }}
7+
{% endif %}
48
{% endfor %}

0 commit comments

Comments
 (0)