ansible-role-sso/templates/hydra-dispatcher-apps.yml.j2

26 lines
1.1 KiB
Plaintext
Raw Normal View History

2022-07-19 14:26:08 +02:00
hydra:
apps:
{% if enable_hydra_passwordless %}
- id: passwordless
title: "{{ hydra_passwordless_app_title }}"
description: "{{ hydra_passwordless_app_description }}"
login_url: {{ public_scheme }}://{{ public_host }}/auth/passwordless/login
consent_url: {{ public_scheme }}://{{ public_host }}/auth/passwordless/consent
logout_url: {{ public_scheme }}://{{ public_host }}/auth/passwordless/logout
attributes_rewrite_rules:
email:
- consent.session.id_token.email
icon_url: "{{ hydra_passwordless_app_icon_url }}"
{% endif %}
{% if enable_hydra_saml %}
- id: saml
title: "{{ hydra_saml_app_title }}"
description: "{{ hydra_saml_app_description }}"
login_url: {{ public_scheme }}://{{ public_host }}/auth/saml/login
consent_url: {{ public_scheme }}://{{ public_host }}/auth/saml/consent
logout_url: {{ public_scheme }}://{{ public_host }}/auth/saml/logout
attributes_rewrite_rules:
email:
- consent.session.id_token.email
icon_url: "{{ hydra_saml_app_icon_url }}"
{% endif %}