template if version
This commit is contained in:
parent
dd00e3f079
commit
b02539f97c
@ -10,7 +10,11 @@ hydra:
|
|||||||
login_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_passwordless_base_path }}/login"
|
login_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_passwordless_base_path }}/login"
|
||||||
consent_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_passwordless_base_path }}/consent"
|
consent_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_passwordless_base_path }}/consent"
|
||||||
logout_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_passwordless_base_path }}/logout"
|
logout_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_passwordless_base_path }}/logout"
|
||||||
|
{% if conf_version | version('0.1.0', '>=') %}
|
||||||
|
attributes_rewrite_configuration: {{ hydra_passwordless_attributes_rewrite_configuraiton | to_json }}
|
||||||
|
{% else %}
|
||||||
attributes_rewrite_rules: {{ hydra_passwordless_attributes_rewrite_rules | to_json }}
|
attributes_rewrite_rules: {{ hydra_passwordless_attributes_rewrite_rules | to_json }}
|
||||||
|
{% endif %}
|
||||||
icon_url: "{{ hydra_passwordless_app_icon_url }}"
|
icon_url: "{{ hydra_passwordless_app_icon_url }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if enable_hydra_saml %}
|
{% if enable_hydra_saml %}
|
||||||
@ -24,7 +28,11 @@ hydra:
|
|||||||
login_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_saml_base_path }}/login"
|
login_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_saml_base_path }}/login"
|
||||||
consent_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_saml_base_path }}/consent"
|
consent_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_saml_base_path }}/consent"
|
||||||
logout_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_saml_base_path }}/logout"
|
logout_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_saml_base_path }}/logout"
|
||||||
|
{% if conf_version | version('0.1.0', '>=') %}
|
||||||
|
attributes_rewrite_configuration: {{ hydra_saml_attributes_rewrite_configuration | to_json }}
|
||||||
|
{% else %}
|
||||||
attributes_rewrite_rules: {{ hydra_saml_attributes_rewrite_rules | to_json }}
|
attributes_rewrite_rules: {{ hydra_saml_attributes_rewrite_rules | to_json }}
|
||||||
|
{% endif %}
|
||||||
icon_url: "{{ hydra_saml_app_icon_url }}"
|
icon_url: "{{ hydra_saml_app_icon_url }}"
|
||||||
options:
|
options:
|
||||||
icon_url:
|
icon_url:
|
||||||
@ -42,7 +50,11 @@ hydra:
|
|||||||
login_url: "{{ hydra_oidc_base_url }}{{ haproxy_hydra_oidc_base_path }}/login"
|
login_url: "{{ hydra_oidc_base_url }}{{ haproxy_hydra_oidc_base_path }}/login"
|
||||||
consent_url: "{{ hydra_oidc_base_url }}{{ haproxy_hydra_oidc_base_path }}/consent"
|
consent_url: "{{ hydra_oidc_base_url }}{{ haproxy_hydra_oidc_base_path }}/consent"
|
||||||
logout_url: "{{ hydra_oidc_base_url }}{{ haproxy_hydra_oidc_base_path }}/logout"
|
logout_url: "{{ hydra_oidc_base_url }}{{ haproxy_hydra_oidc_base_path }}/logout"
|
||||||
|
{% if conf_version | version('0.1.0', '>=') %}
|
||||||
|
attributes_rewrite_configuration: {{ hydra_oidc_attributes_rewrite_configuration | to_json }}
|
||||||
|
{% else %}
|
||||||
attributes_rewrite_rules: {{ hydra_oidc_attributes_rewrite_rules | to_json }}
|
attributes_rewrite_rules: {{ hydra_oidc_attributes_rewrite_rules | to_json }}
|
||||||
|
{% endif %}
|
||||||
icon_url: "{{ hydra_oidc_app_icon_url }}"
|
icon_url: "{{ hydra_oidc_app_icon_url }}"
|
||||||
options:
|
options:
|
||||||
icon_url:
|
icon_url:
|
||||||
@ -58,7 +70,11 @@ hydra:
|
|||||||
login_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_ldap_base_path }}/auth/login"
|
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"
|
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"
|
logout_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_ldap_base_path }}/auth/logout"
|
||||||
|
{% if conf_version | version('0.1.0', '>=') %}
|
||||||
|
attributes_rewrite_configuration: {{ hydra_ldap_attributes_rewrite_configuration | to_json }}
|
||||||
|
{% else %}
|
||||||
attributes_rewrite_rules: {{ hydra_ldap_attributes_rewrite_rules | to_json }}
|
attributes_rewrite_rules: {{ hydra_ldap_attributes_rewrite_rules | to_json }}
|
||||||
|
{% endif %}
|
||||||
icon_url: "{{ hydra_ldap_app_icon_url }}"
|
icon_url: "{{ hydra_ldap_app_icon_url }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
webhook:
|
webhook:
|
||||||
|
Loading…
Reference in New Issue
Block a user