diff --git a/roles/custom/matrix-client-element/defaults/main.yml b/roles/custom/matrix-client-element/defaults/main.yml index 8f9c66a67..2216ab3f5 100644 --- a/roles/custom/matrix-client-element/defaults/main.yml +++ b/roles/custom/matrix-client-element/defaults/main.yml @@ -318,3 +318,7 @@ matrix_client_element_location_sharing_map_style_content_sources_localsource_til # matrix_client_element_location_sharing_map_style_content_sources_localsource_attribution: "© OpenStreetMap contributors" # Leave blank, if map does not require attribution. matrix_client_element_location_sharing_map_style_content_sources_localsource_attribution: "" + +# Optional URL to redirect the user to after they have logged out. +# See https://github.com/element-hq/element-web/blob/develop/docs/config.md#sso-setup +matrix_client_element_logout_redirect_url: '' diff --git a/roles/custom/matrix-client-element/templates/config.json.j2 b/roles/custom/matrix-client-element/templates/config.json.j2 index e45e68065..9d354a3c2 100644 --- a/roles/custom/matrix-client-element/templates/config.json.j2 +++ b/roles/custom/matrix-client-element/templates/config.json.j2 @@ -40,6 +40,7 @@ {% if matrix_client_element_location_sharing_enabled %} "map_style_url": {{ matrix_client_element_map_style_url | to_json }}, {% endif %} + "logout_redirect_url": {{ matrix_client_element_logout_redirect_url | to_json }}, "branding": { "auth_footer_links": {{ matrix_client_element_branding_auth_footer_links | to_json }}, "auth_header_logo_url": {{ matrix_client_element_branding_auth_header_logo_url | to_json }},