dpgaspar commented on code in PR #38606:
URL: https://github.com/apache/superset/pull/38606#discussion_r2929343861
##########
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"),
+ }
+ )
+ frontend_config["AUTH_PROVIDERS"] = saml_providers
Review Comment:
yes it does
--
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]