Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

improvements: address comments

Scott Wilson6896e8c156d2
diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OIDCModal.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OIDCModal.tsx
index fc4bd7a889..2107a16e0a 100644
--- a/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OIDCModal.tsx
+++ b/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OIDCModal.tsx
@@ -131,8 +131,6 @@ export const OIDCModal = ({ popUp, handlePopUpClose, handlePopUpToggle, hideDele
}
});
- console.log("state", formState.errors);
-
const [isClientIdFocused, setIsClientIdFocused] = useToggle();
const [isClientSecretFocused, setIsClientSecretFocused] = useToggle();
diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/SSOModal.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/SSOModal.tsx
index 8e5dc71e6e..71fc9c90ee 100644
--- a/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/SSOModal.tsx
+++ b/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/SSOModal.tsx
@@ -426,7 +426,7 @@ export const SSOModal = ({ popUp, handlePopUpClose, handlePopUpToggle, hideDelet
<SheetFooter className="justify-between border-t">
<div className="flex gap-2">
<Button type="submit" variant="org" isPending={isPending}>
- {!data.isActive ? "Configure SAML" : "Update Configuration"}
+ {!data?.isActive ? "Configure SAML" : "Update Configuration"}
</Button>
<Button type="button" variant="ghost" onClick={() => handlePopUpClose("addSSO")}>
Cancel