Add support for websso http referer variable added in yoga

This variable was added in the Yoga release to permit changes
to how Horizon contacts Keystone in an IDP setup.

Change-Id: I959f0f84b264ffc25481e9becb3059f28a233010
This commit is contained in:
Andrew Bonney 2022-08-03 08:13:50 +01:00
parent 6443d610ee
commit 694169c700
2 changed files with 3 additions and 0 deletions

View File

@ -510,3 +510,4 @@ horizon_websso_initial_choice: "credentials"
horizon_websso_default_redirect: False
horizon_websso_default_redirect_region: "{{ horizon_websso_keystone_url | default(horizon_keystone_endpoint) }}"
horizon_websso_default_redirect_logout: ""
horizon_websso_use_http_referer: True

View File

@ -202,6 +202,8 @@ WEBSSO_DEFAULT_REDIRECT_LOGOUT = "{{ horizon_websso_default_redirect_logout }}"
{% endif %}
{% endif %}
WEBSSO_USE_HTTP_REFERER = {{ horizon_websso_use_http_referer | bool }}
# The list of authentication mechanisms which include keystone
# federation protocols and identity provider/federation protocol
# mapping keys (WEBSSO_IDP_MAPPING). Current supported protocol