From 55193fbf66d0aaa7e72979d8712381fd49c5bc22 Mon Sep 17 00:00:00 2001 From: Dominik Sigmund Date: Tue, 31 Oct 2023 12:23:00 +0100 Subject: [PATCH] Changed asc_url to entity_id (#6202) Respect the User Setting instead of a hardcoded value Co-authored-by: Guido Petri <18634426+guidopetri@users.noreply.github.com> --- redash/authentication/saml_auth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redash/authentication/saml_auth.py b/redash/authentication/saml_auth.py index e46a091dc7..1c52bf1a3c 100644 --- a/redash/authentication/saml_auth.py +++ b/redash/authentication/saml_auth.py @@ -90,8 +90,8 @@ def get_saml_client(org): saml_settings["metadata"] = {"inline": [metadata_inline]} - if acs_url is not None and acs_url != "": - saml_settings["entityid"] = acs_url + if entity_id is not None and entity_id != "": + saml_settings["entityid"] = entity_id if sp_settings: import json