Skip to content

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

misc: added admin login url to tooltip

Sheen Capadngan5d0bbce12df3
diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgAuthTab/OrgGeneralAuthSection.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgAuthTab/OrgGeneralAuthSection.tsx
index 6e879b971d..b9aa98c950 100644
--- a/frontend/src/pages/organization/SettingsPage/components/OrgAuthTab/OrgGeneralAuthSection.tsx
+++ b/frontend/src/pages/organization/SettingsPage/components/OrgAuthTab/OrgGeneralAuthSection.tsx
@@ -122,7 +122,25 @@ export const OrgGeneralAuthSection = () => {
<span className="text-md text-mineshaft-100">Enable Admin SSO Bypass</span>
<Tooltip
className="max-w-lg"
- content="When this is enabled, we strongly recommend enforcing MFA at the organization level."
+ content={
+ <div>
+ <span>
+ When this is enabled, we strongly recommend enforcing MFA at the organization
+ level.
+ </span>
+ <p className="mt-4">
+ In case of a lockout, admins can use the admin login portal{" "}
+ <a
+ target="_blank"
+ rel="noopener noreferrer"
+ className="underline underline-offset-2 hover:text-mineshaft-300"
+ href={`${window.location.origin}/login/admin`}
+ >
+ here.
+ </a>
+ </p>
+ </div>
+ }
>
<FontAwesomeIcon
icon={faInfoCircle}
diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgAuthTab/OrgOIDCSection.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgAuthTab/OrgOIDCSection.tsx
index 33fbd4aebe..5d48ff5832 100644
--- a/frontend/src/pages/organization/SettingsPage/components/OrgAuthTab/OrgOIDCSection.tsx
+++ b/frontend/src/pages/organization/SettingsPage/components/OrgAuthTab/OrgOIDCSection.tsx
@@ -205,7 +205,25 @@ export const OrgOIDCSection = (): JSX.Element => {
<span className="text-md text-mineshaft-100">Enable Admin SSO Bypass</span>
<Tooltip
className="max-w-lg"
- content="When this is enabled, we strongly recommend enforcing MFA at the organization level."
+ content={
+ <div>
+ <span>
+ When this is enabled, we strongly recommend enforcing MFA at the organization
+ level.
+ </span>
+ <p className="mt-4">
+ In case of a lockout, admins can use the admin login portal{" "}
+ <a
+ target="_blank"
+ rel="noopener noreferrer"
+ className="underline underline-offset-2 hover:text-mineshaft-300"
+ href={`${window.location.origin}/login/admin`}
+ >
+ here.
+ </a>
+ </p>
+ </div>
+ }
>
<FontAwesomeIcon
icon={faInfoCircle}