mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-24 21:11:53 +00:00
chore(saml): restore SAML button (#8203)
This commit is contained in:
committed by
GitHub
parent
cd97e57521
commit
19f3c1d310
@@ -5,6 +5,9 @@ All notable changes to the **Prowler UI** are documented in this file.
|
||||
## [v1.9.0] (Prowler v5.9.0) – UNRELEASED
|
||||
|
||||
### 🚀 Added
|
||||
|
||||
- Unhid SAML-related components to make them available [(#8203)](https://github.com/prowler-cloud/prowler/pull/8203)
|
||||
|
||||
### 🔄 Changed
|
||||
|
||||
- Upgrade to Next.js 14.2.30 and lock TypeScript to 5.5.4 for ESLint compatibility [(#8189)](https://github.com/prowler-cloud/prowler/pull/8189)
|
||||
|
||||
@@ -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,10 +84,9 @@ const SSRDataUser = async () => {
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
{/* TODO after v5.8: Add SAML SSO back in */}
|
||||
{/* <div className="w-full pr-0 lg:w-2/3 xl:w-1/2 xl:pr-3">
|
||||
<div className="w-full pr-0 lg:w-2/3 xl:w-1/2 xl:pr-3">
|
||||
<SamlIntegrationCard samlConfig={samlConfig?.data?.[0]} />
|
||||
</div> */}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -401,8 +401,7 @@ export const AuthForm = ({
|
||||
</Tooltip>
|
||||
</>
|
||||
)}
|
||||
{/* TODO after v5.8: Add SAML SSO back in */}
|
||||
{/* <Button
|
||||
<Button
|
||||
startContent={
|
||||
!isSamlMode && (
|
||||
<Icon
|
||||
@@ -419,7 +418,7 @@ export const AuthForm = ({
|
||||
}}
|
||||
>
|
||||
{isSamlMode ? "Back" : "Continue with SAML SSO"}
|
||||
</Button> */}
|
||||
</Button>
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user