From 3dabc3ff5d06a41a12abbfe57bc84ab7d76effb8 Mon Sep 17 00:00:00 2001 From: Mihai Doarna Date: Tue, 23 Apr 2024 16:55:01 +0300 Subject: [PATCH] SSO: filter out SAML from the SSO providers in UI (#86768) * filter out saml from sso providers * fix lint error --- public/app/features/auth-config/AuthProvidersListPage.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/app/features/auth-config/AuthProvidersListPage.tsx b/public/app/features/auth-config/AuthProvidersListPage.tsx index 1bf44fbf8bb..ceece9d32ea 100644 --- a/public/app/features/auth-config/AuthProvidersListPage.tsx +++ b/public/app/features/auth-config/AuthProvidersListPage.tsx @@ -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) => ({