feat(api): changed SAML Helper
This commit is contained in:
parent
50a3c448f5
commit
20104e8cd9
1 changed files with 2 additions and 1 deletions
|
|
@ -105,4 +105,5 @@ def is_saml2_available():
|
|||
|
||||
|
||||
def get_saml2_provider():
|
||||
return environ.get("idp_name", "saml2") if is_saml2_available() else None
|
||||
return environ.get("idp_name", "saml2") if is_saml2_available() and len(
|
||||
environ.get("idp_name", "saml2")) > 0 else None
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue