oidc-parent/deployment/roles/oidc_idp/templates/idp_config.toml.j2

12 lines
513 B
Django/Jinja

[security]
csrf.key = "{{ idp_csrf_key | default(lookup('community.general.random_string', length=32, base64=true)) }}"
client.ca-file = "{{ idp_tls.client_cas }}"
[server]
name = "{{ oidc_urls.idp.address | default(ansible_default_ipv4.address) }}"
port = {{ oidc_urls.idp.address | default("3000") }}
certificate = "{{ idp_tls.cert }}"
key = "{{ idp_tls.key }}"
[admin]
url = "https://{{ oidc_urls.hydra_admin.address | default("hydra.cacert.localhost") }}:{{ oidc_urls.hydra_admin.port | default("3000") }}"