From ad98a4747f6a2a6f781b968acd9160806cf9b62d Mon Sep 17 00:00:00 2001 From: Pablo Lara Date: Wed, 2 Jul 2025 12:46:04 +0200 Subject: [PATCH] chore: Hide all SAML config for v5.8 (#8159) --- ui/CHANGELOG.md | 2 +- ui/app/(prowler)/profile/page.tsx | 11 ++++++----- ui/components/auth/oss/auth-form.tsx | 5 +++-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/ui/CHANGELOG.md b/ui/CHANGELOG.md index ee61a34710..8348690a29 100644 --- a/ui/CHANGELOG.md +++ b/ui/CHANGELOG.md @@ -21,7 +21,7 @@ All notable changes to the **Prowler UI** are documented in this file. - Improve `Scan ID` filter by adding more context and enhancing the UI/UX [(#8046)](https://github.com/prowler-cloud/prowler/pull/8046) - Lighthouse chat interface [(#7878)](https://github.com/prowler-cloud/prowler/pull/7878) - Google Tag Manager integration [(#8058)](https://github.com/prowler-cloud/prowler/pull/8058) -- SAML login integration [(#8094)](https://github.com/prowler-cloud/prowler/pull/8094) + ### 🔄 Changed diff --git a/ui/app/(prowler)/profile/page.tsx b/ui/app/(prowler)/profile/page.tsx index 74108355f9..bc8b371fe2 100644 --- a/ui/app/(prowler)/profile/page.tsx +++ b/ui/app/(prowler)/profile/page.tsx @@ -1,10 +1,10 @@ import React, { Suspense } from "react"; -import { getSamlConfig } from "@/actions/integrations/saml"; +// import { getSamlConfig } from "@/actions/integrations/saml"; import { getAllTenants } from "@/actions/users/tenants"; import { getUserInfo } from "@/actions/users/users"; import { getUserMemberships } from "@/actions/users/users"; -import { SamlIntegrationCard } from "@/components/integrations/saml-integration-card"; +// import { SamlIntegrationCard } from "@/components/integrations/saml-integration-card"; import { ContentLayout } from "@/components/ui"; import { UserBasicInfoCard } from "@/components/users/profile"; import { MembershipsCard } from "@/components/users/profile/memberships-card"; @@ -24,7 +24,7 @@ export default async function Profile() { } const SSRDataUser = async () => { - const samlConfig = await getSamlConfig(); + // const samlConfig = await getSamlConfig(); const userProfile = await getUserInfo(); if (!userProfile?.data) { return null; @@ -84,9 +84,10 @@ const SSRDataUser = async () => { /> -
+ {/* TODO after v5.8: Add SAML SSO back in */} + {/*
-
+
*/} ); }; diff --git a/ui/components/auth/oss/auth-form.tsx b/ui/components/auth/oss/auth-form.tsx index 51410afe6b..66f317e51a 100644 --- a/ui/components/auth/oss/auth-form.tsx +++ b/ui/components/auth/oss/auth-form.tsx @@ -401,7 +401,8 @@ export const AuthForm = ({ )} - + */} )}