Skip to content

Commit f68cf27

Browse files
committed
Default create_from_institution_return_url_allowed_domains voor eduID
1 parent e709961 commit f68cf27

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

roles/myconext/templates/application.yml.j2

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,11 @@ mobile_app_rp_entity_id: {{ myconext.mobile_app_rp_entity_id }}
106106

107107
create-from-institution:
108108
return-url-allowed-domains:
109-
{% for url in create_from_institution_return_url_allowed_domains %}
109+
{% for url in myconext.create_from_institution_return_url_allowed_domains | default([]) %}
110110
- "{{ url }}"
111-
{% endfor %}
111+
{% else %}
112+
[] # lege lijst wanneer er geen URLs zijn
113+
{% endfor %}
112114

113115
# The host headers to identify the service the user is logged in
114116
host_headers:

0 commit comments

Comments
 (0)