2022-08-16 15:28:29 +02:00
|
|
|
# {{ ansible_managed }}
|
2022-07-19 14:26:08 +02:00
|
|
|
hydra:
|
|
|
|
apps:
|
|
|
|
{% if enable_hydra_passwordless %}
|
2022-08-26 16:29:39 +02:00
|
|
|
- id: {{ hydra_passwordless_identity_provider_id | default("passwordless") }}
|
2022-08-10 17:46:19 +02:00
|
|
|
title:
|
2023-05-25 14:53:28 +02:00
|
|
|
fr: "{{ hydra_passwordless_app_title.fr }}"
|
2023-05-25 15:28:44 +02:00
|
|
|
en: "{{ hydra_passwordless_app_title.en | default(hydra_passwordless_app_title.fr) }}"
|
2023-02-28 14:20:44 +01:00
|
|
|
description:
|
2023-05-25 14:53:28 +02:00
|
|
|
fr: "{{ hydra_passwordless_app_description.fr }}"
|
2023-05-25 15:28:44 +02:00
|
|
|
en: "{{ hydra_passwordless_app_description.en | default(hydra_passwordless_app_description.fr) }}"
|
2022-08-02 16:56:06 +02:00
|
|
|
login_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_passwordless_base_path }}/login"
|
|
|
|
consent_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_passwordless_base_path }}/consent"
|
|
|
|
logout_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_passwordless_base_path }}/logout"
|
2023-05-25 14:53:28 +02:00
|
|
|
attributes_rewrite_configuration: {{ hydra_passwordless_attributes_rewrite_configuration | default({}) | to_json }}
|
2022-07-19 14:26:08 +02:00
|
|
|
icon_url: "{{ hydra_passwordless_app_icon_url }}"
|
|
|
|
{% endif %}
|
2023-02-28 14:20:44 +01:00
|
|
|
{% if enable_hydra_saml %}
|
|
|
|
- id: {{ hydra_saml_identity_provider_id | default("saml") }}
|
|
|
|
title:
|
|
|
|
fr: "{{ hydra_saml_app_title.fr }}"
|
2023-05-25 15:28:44 +02:00
|
|
|
en: "{{ hydra_saml_app_title.en | default(hydra_saml_app_title.fr) }}"
|
2023-02-28 14:20:44 +01:00
|
|
|
description:
|
|
|
|
fr: "{{ hydra_saml_app_description.fr }}"
|
2023-05-25 15:28:44 +02:00
|
|
|
en: "{{ hydra_saml_app_description.en | default(hydra_saml_app_description.fr) }}"
|
2023-02-28 14:20:44 +01:00
|
|
|
login_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_saml_base_path }}/login"
|
|
|
|
consent_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_saml_base_path }}/consent"
|
|
|
|
logout_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_saml_base_path }}/logout"
|
2023-05-25 14:53:28 +02:00
|
|
|
attributes_rewrite_configuration: {{ hydra_saml_attributes_rewrite_configuration | default({}) | to_json }}
|
2023-02-28 14:20:44 +01:00
|
|
|
icon_url: "{{ hydra_saml_app_icon_url }}"
|
|
|
|
options:
|
|
|
|
icon_url:
|
|
|
|
fr: "{{ hydra_saml_app_options.icon_url.fr }}"
|
2023-05-25 15:28:44 +02:00
|
|
|
en: "{{ hydra_saml_app_options.icon_url.en | default( hydra_saml_app_options.icon_url.fr) }}"
|
2023-02-28 14:20:44 +01:00
|
|
|
{% endif %}
|
2022-08-10 17:46:19 +02:00
|
|
|
{% if enable_hydra_oidc %}
|
2022-08-26 16:29:39 +02:00
|
|
|
- id: {{ hydra_oidc_identity_provider_id | default("oidc") }}
|
2023-02-28 14:20:44 +01:00
|
|
|
title:
|
2022-10-27 16:54:18 +02:00
|
|
|
fr: "{{ hydra_oidc_app_title.fr }}"
|
2023-05-25 15:28:44 +02:00
|
|
|
en: "{{ hydra_oidc_app_title.en | default(hydra_oidc_app_title.fr) }}"
|
2023-02-28 14:20:44 +01:00
|
|
|
description:
|
2022-10-27 16:54:18 +02:00
|
|
|
fr: "{{ hydra_oidc_app_description.fr }}"
|
2023-05-25 15:28:44 +02:00
|
|
|
en: "{{ hydra_oidc_app_description.en | default(hydra_oidc_app_description.fr) }}"
|
2023-02-09 19:34:56 +01:00
|
|
|
login_url: "{{ hydra_oidc_base_url }}{{ haproxy_hydra_oidc_base_path }}/login"
|
|
|
|
consent_url: "{{ hydra_oidc_base_url }}{{ haproxy_hydra_oidc_base_path }}/consent"
|
|
|
|
logout_url: "{{ hydra_oidc_base_url }}{{ haproxy_hydra_oidc_base_path }}/logout"
|
2023-05-25 14:53:28 +02:00
|
|
|
attributes_rewrite_configuration: {{ hydra_oidc_attributes_rewrite_configuration | default({}) | to_json }}
|
2022-08-10 17:46:19 +02:00
|
|
|
icon_url: "{{ hydra_oidc_app_icon_url }}"
|
2022-10-27 16:54:18 +02:00
|
|
|
options:
|
|
|
|
icon_url:
|
|
|
|
fr: "{{ hydra_oidc_app_options.icon_url.fr }}"
|
2023-05-25 15:28:44 +02:00
|
|
|
en: "{{ hydra_oidc_app_options.icon_url.en | default(hydra_oidc_app_options.icon_url.fr) }}"
|
2022-08-25 20:32:15 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if enable_hydra_ldap %}
|
|
|
|
- id: ldap
|
2023-02-28 14:20:44 +01:00
|
|
|
title:
|
2023-05-25 14:53:28 +02:00
|
|
|
fr: "{{ hydra_ldap_app_title.fr }}"
|
2023-05-25 15:28:44 +02:00
|
|
|
en: "{{ hydra_ldap_app_title.en | default(hydra_ldap_app_title.fr) }}"
|
2023-02-28 14:20:44 +01:00
|
|
|
description:
|
2023-05-25 14:53:28 +02:00
|
|
|
fr: "{{ hydra_ldap_app_description.fr }}"
|
2023-05-25 15:28:44 +02:00
|
|
|
en: "{{ hydra_ldap_app_description.en | default(hydra_ldap_app_description.fr) }}"
|
2022-08-25 20:32:15 +02:00
|
|
|
login_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_ldap_base_path }}/auth/login"
|
|
|
|
consent_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_ldap_base_path }}/auth/consent"
|
|
|
|
logout_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_ldap_base_path }}/auth/logout"
|
2023-05-25 14:53:28 +02:00
|
|
|
attributes_rewrite_configuration: {{ hydra_ldap_attributes_rewrite_configuration | default({}) | to_json }}
|
2022-08-25 20:32:15 +02:00
|
|
|
icon_url: "{{ hydra_ldap_app_icon_url }}"
|
2023-12-04 09:22:04 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if enable_hydra_webauthn %}
|
|
|
|
- id: {{ hydra_webauthn_identity_provider_id | default("webauthn") }}
|
|
|
|
title:
|
|
|
|
fr: "{{ hydra_webauthn_app_title.fr }}"
|
|
|
|
en: "{{ hydra_webauthn_app_title.en | default(hydra_webauthn_app_title.fr) }}"
|
|
|
|
description:
|
|
|
|
fr: "{{ hydra_webauthn_app_description.fr }}"
|
|
|
|
en: "{{ hydra_webauthn_app_description.en | default(hydra_webauthn_app_description.fr) }}"
|
|
|
|
login_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_webauthn_base_path }}/login"
|
|
|
|
consent_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_webauthn_base_path }}/consent"
|
|
|
|
logout_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_webauthn_base_path }}/logout"
|
|
|
|
attributes_rewrite_configuration: {{ hydra_webauthn_attributes_rewrite_configuration | default({}) | to_json }}
|
|
|
|
icon_url: "{{ hydra_webauthn_app_icon_url }}"
|
2023-02-09 14:41:40 +01:00
|
|
|
{% endif %}
|
2023-03-27 10:06:35 +02:00
|
|
|
webhook:
|
2023-03-28 16:25:55 +02:00
|
|
|
enabled: {{ hydra_dispatcher_webhook }}
|
2023-03-27 11:00:08 +02:00
|
|
|
api_url: {{ hydra_dispatcher_webhook_api_url }}
|
|
|
|
api_key: {{ hydra_dispatcher_webhook_api_key }}
|
2023-03-27 10:06:35 +02:00
|
|
|
api_method: POST
|
|
|
|
firewall:
|
|
|
|
additional_properties: true
|
|
|
|
rules: {{ hydra_dispatcher_webhook_rules | to_json }}
|