Ajout variables hydra_oidc_base_url /hydra_oidc_hydra_url_error

This commit is contained in:
cmsassot 2023-02-09 19:25:00 +01:00
parent 598984a3e4
commit be47b4330e
3 changed files with 7 additions and 5 deletions

View File

@ -190,6 +190,8 @@ oidc_test_app_public_base_url: "{{ haproxy_public_base_url }}{{ haproxy_oidc_tes
enable_hydra_oidc: no enable_hydra_oidc: no
hydra_oidc_debug: no hydra_oidc_debug: no
hydra_oidc_hydra_url_error:
hydra_oidc_base_url:
hydra_oidc_cookie_path: "{{ haproxy_hydra_oidc_base_path }}" hydra_oidc_cookie_path: "{{ haproxy_hydra_oidc_base_path }}"
hydra_oidc_app_title: {} hydra_oidc_app_title: {}
hydra_oidc_app_description: {} hydra_oidc_app_description: {}

View File

@ -13,8 +13,8 @@ PODMAN_ARGS="\
-e 'OIDC_TOKEN_ENDPOINT={{ hydra_oidc_token_endpoint }}' \ -e 'OIDC_TOKEN_ENDPOINT={{ hydra_oidc_token_endpoint }}' \
-e 'OIDC_USERINFO_ENDPOINT={{ hydra_oidc_userinfo_endpoint }}' \ -e 'OIDC_USERINFO_ENDPOINT={{ hydra_oidc_userinfo_endpoint }}' \
-e 'OIDC_LOGOUT_ENDPOINT={{ hydra_oidc_logout_endpoint }}' \ -e 'OIDC_LOGOUT_ENDPOINT={{ hydra_oidc_logout_endpoint }}' \
-e 'BASE_URL={{ haproxy_public_base_url }}{{ haproxy_hydra_oidc_base_path }}' \ -e 'BASE_URL={{ hydra_oidc_base_url }}{{ haproxy_hydra_oidc_base_path }}' \
-e 'REDIRECT_ON_ERROR_URL={{ hydra_urls_error }}' \ -e 'REDIRECT_ON_ERROR_URL={{ hydra_oidc_hydra_url_error }}' \
-e 'OIDC_SCOPE={{ hydra_oidc_scope }}' \ -e 'OIDC_SCOPE={{ hydra_oidc_scope }}' \
-e 'CLIENT_ID={{ hydra_oidc_client_id }}' \ -e 'CLIENT_ID={{ hydra_oidc_client_id }}' \
-e 'CLIENT_SECRET={{ hydra_oidc_client_secret }}' \ -e 'CLIENT_SECRET={{ hydra_oidc_client_secret }}' \

View File

@ -21,9 +21,9 @@ hydra:
description: description:
fr: "{{ hydra_oidc_app_description.fr }}" fr: "{{ hydra_oidc_app_description.fr }}"
en: "{{ hydra_oidc_app_description.en | default("{{ hydra_oidc_app_description.fr }}") }}" en: "{{ hydra_oidc_app_description.en | default("{{ hydra_oidc_app_description.fr }}") }}"
login_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_oidc_base_path }}/login" login_url: "{{ hydra_oidc_base_url }}{{ haproxy_hydra_oidc_base_path }}/login"
consent_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_oidc_base_path }}/consent" consent_url: "{{ hydra_oidc_base_url }}{{ haproxy_hydra_oidc_base_path }}/consent"
logout_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_oidc_base_path }}/logout" logout_url: "{{ hydra_oidc_base_url }}{{ haproxy_hydra_oidc_base_path }}/logout"
attributes_rewrite_rules: {{ hydra_oidc_attributes_rewrite_rules | to_json }} attributes_rewrite_rules: {{ hydra_oidc_attributes_rewrite_rules | to_json }}
icon_url: "{{ hydra_oidc_app_icon_url }}" icon_url: "{{ hydra_oidc_app_icon_url }}"
options: options: