mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
SSO: filter out SAML from the SSO providers in UI (#86768)
* filter out saml from sso providers * fix lint error
This commit is contained in:
@@ -52,6 +52,9 @@ export const AuthConfigPageUnconnected = ({
|
||||
reportInteraction('authentication_ui_provider_clicked', { provider: providerType, enabled });
|
||||
};
|
||||
|
||||
// filter out saml from sso providers because it is already included in availableProviders
|
||||
providers = providers.filter((p) => p.provider !== 'saml');
|
||||
|
||||
const providerList = availableProviders.length
|
||||
? [
|
||||
...availableProviders.map((p) => ({
|
||||
|
||||
Reference in New Issue
Block a user