Ajout variables hydra_oidc_base_url /hydra_oidc_hydra_url_error #7

Merged
pcaseiro merged 1 commits from vars_oidc into master 2023-02-09 19:34:57 +01:00
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
hydra_oidc_debug: no
hydra_oidc_hydra_url_error:
hydra_oidc_base_url:
hydra_oidc_cookie_path: "{{ haproxy_hydra_oidc_base_path }}"
hydra_oidc_app_title: {}
hydra_oidc_app_description: {}

View File

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

View File

@ -21,9 +21,9 @@ hydra:
description:
fr: "{{ 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"
consent_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_oidc_base_path }}/consent"
logout_url: "{{ haproxy_public_base_url }}{{ haproxy_hydra_oidc_base_path }}/logout"
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"
attributes_rewrite_rules: {{ hydra_oidc_attributes_rewrite_rules | to_json }}
icon_url: "{{ hydra_oidc_app_icon_url }}"
options: