Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
improvement: make email verifcation required banner less spooky
Scott Wilsonf41d439b3328
diff --git a/frontend/src/components/v3/generic/Alert/Alert.tsx b/frontend/src/components/v3/generic/Alert/Alert.tsxindex 319e19cb61..1a02fa5ba0 100644--- a/frontend/src/components/v3/generic/Alert/Alert.tsx+++ b/frontend/src/components/v3/generic/Alert/Alert.tsx@@ -53,7 +53,7 @@ function UnstableAlertDescription({ className, ...props }: React.ComponentProps<<divdata-slot="alert-description"className={cn(- "col-start-2 grid justify-items-start gap-1 text-sm text-foreground/75 [&_p]:leading-relaxed",+ "col-start-2 grid justify-items-start gap-1 text-xs text-foreground/75 [&_p]:leading-relaxed",className)}{...props}diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OrgSsoTab.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OrgSsoTab.tsxindex 1bc285d3d6..a2f7279c41 100644--- a/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OrgSsoTab.tsx+++ b/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OrgSsoTab.tsx@@ -1,7 +1,9 @@+import { InfoIcon } from "lucide-react";import { twMerge } from "tailwind-merge";import { UpgradePlanModal } from "@app/components/license/UpgradePlanModal";-import { Alert, AlertDescription, Button, ContentLoader, EmptyState } from "@app/components/v2";+import { Button, ContentLoader, EmptyState } from "@app/components/v2";+import { UnstableAlert, UnstableAlertDescription, UnstableAlertTitle } from "@app/components/v3";import {OrgPermissionEmailDomainActions,OrgPermissionSsoActions,@@ -92,11 +94,14 @@ export const OrgSsoTab = withPermission(OIDC, and LDAP.</p>{subscription?.emailDomainVerification && !isPending && !emailDomains?.length && (- <Alert hideTitle iconClassName="text-yellow-500" variant="warning">- <AlertDescription>- Email domain verification is required to use an identity provider.- </AlertDescription>- </Alert>+ <UnstableAlert variant="info" className="mt-3 bg-info/10">+ <InfoIcon />+ <UnstableAlertTitle>Email domain verification required</UnstableAlertTitle>+ <UnstableAlertDescription>+ You must verify at least one email domain before configuring an identity+ provider. Add a domain in the Email Domains section above.+ </UnstableAlertDescription>+ </UnstableAlert>)}</div>{shouldDisplaySection(LoginMethod.SAML) && (@@ -224,11 +229,14 @@ export const OrgSsoTab = withPermission() &&!isPending &&!emailDomains?.length && (- <Alert hideTitle iconClassName="text-yellow-500" variant="warning">- <AlertDescription>- Email domain verification is required to use an identity provider.- </AlertDescription>- </Alert>+ <UnstableAlert variant="info" className="mt-3 bg-info/10">+ <InfoIcon />+ <UnstableAlertTitle>Email domain verification required</UnstableAlertTitle>+ <UnstableAlertDescription>+ You must verify at least one email domain before configuring an identity+ provider. Add a domain in the Email Domains section above.+ </UnstableAlertDescription>+ </UnstableAlert>)}<div>{isSamlConfigured && shouldDisplaySection(LoginMethod.SAML) && <OrgSSOSection />}