Skip to content

Commit

Permalink
Changed asc_url to entity_id (#6202)
Browse files Browse the repository at this point in the history
Respect the User Setting instead of a hardcoded  value

Co-authored-by: Guido Petri <[email protected]>
  • Loading branch information
DSigmund and guidopetri authored Oct 31, 2023
1 parent 8b8dd4f commit 55193fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions redash/authentication/saml_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 55193fb

Please sign in to comment.