diff --git a/defaults/main.yml b/defaults/main.yml index 8a0f4dd..4db82a8 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -77,6 +77,7 @@ enable_hydra_passwordless: yes hydra_passwordless_app_title: Adresse courriel hydra_passwordless_app_description: Authentification via adresse courriel hydra_passwordless_app_icon_url: https://upload.wikimedia.org/wikipedia/commons/4/48/You%27ve_got_mail.png +hydra_passwordless_identity_provider_id: passwordless hydra_passwordless_smtp_host: smtp-server hydra_passwordless_smtp_port: 25 hydra_passwordless_smtp_user: smtp-user @@ -110,7 +111,8 @@ hydra_passwordless_attributes_rewrite_rules: enable_hydra_saml: yes hydra_saml_app_title: SAML hydra_saml_app_description: Authentification via SAML -hydra_saml_app_icon_url: +hydra_saml_app_icon_url: +hydra_saml_identity_provider_id: saml hydra_saml_idp_entity_id: https://samltest.id/saml/idp hydra_saml_idp_metadata_url: https://samltest.id/saml/idp @@ -187,6 +189,7 @@ hydra_oidc_cookie_path: "{{ haproxy_hydra_oidc_base_path }}" hydra_oidc_app_title: OpenID Connect hydra_oidc_app_description: Authentification via OpenID Connect hydra_oidc_app_icon_url: https://openid.net/wordpress-content/uploads/2014/09/openid-r-logo-900x360.png +hydra_oidc_identity_provider_id: oidc hydra_oidc_authorize_endpoint: hydra_oidc_token_endpoint: hydra_oidc_userinfo_endpoint: diff --git a/templates/hydra-dispatcher-apps.yml.j2 b/templates/hydra-dispatcher-apps.yml.j2 index 974e75b..02a2926 100644 --- a/templates/hydra-dispatcher-apps.yml.j2 +++ b/templates/hydra-dispatcher-apps.yml.j2 @@ -2,7 +2,7 @@ hydra: apps: {% if enable_hydra_passwordless %} - - id: passwordless + - id: {{ hydra_passwordless_identity_provider_id | default("passwordless") }} title: fr: "{{ hydra_passwordless_app_title }}" description: @@ -14,7 +14,7 @@ hydra: icon_url: "{{ hydra_passwordless_app_icon_url }}" {% endif %} {% if enable_hydra_saml %} - - id: saml + - id: {{ hydra_saml_identity_provider_id | default("saml") }} title: fr: "{{ hydra_saml_app_title }}" description: @@ -26,7 +26,7 @@ hydra: icon_url: "{{ hydra_saml_app_icon_url }}" {% endif %} {% if enable_hydra_oidc %} - - id: oidc + - id: {{ hydra_oidc_identity_provider_id | default("oidc") }} title: fr: "{{ hydra_oidc_app_title }}" description: