dpgaspar commented on code in PR #38606:
URL: https://github.com/apache/superset/pull/38606#discussion_r2929919942


##########
superset/views/base.py:
##########
@@ -505,6 +507,16 @@ def cached_common_bootstrap_data(  # pylint: 
disable=unused-argument
                 }
             )
         frontend_config["AUTH_PROVIDERS"] = oauth_providers
+    elif auth_type == AUTH_SAML:
+        saml_providers = []
+        for provider in appbuilder.sm.saml_providers:
+            saml_providers.append(
+                {
+                    "name": provider["name"],
+                    "icon": provider.get("icon", "fa-sign-in"),

Review Comment:
   [FAB Already 
had](https://github.com/dpgaspar/Flask-AppBuilder/pull/2426/changes#diff-144718fa1ae6ddb68ced4f454e801acaf924e9276a151d8623fcdccf5a9cd474R21)
 This view is not used by Superset. So we are adding the same check here
    



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to