diff --git a/defaults/main.yml b/defaults/main.yml index 741942ec..a88d5cb0 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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 diff --git a/templates/horizon_local_settings.py.j2 b/templates/horizon_local_settings.py.j2 index f957b124..862a090c 100644 --- a/templates/horizon_local_settings.py.j2 +++ b/templates/horizon_local_settings.py.j2 @@ -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