diff --git a/src/app/admin/idp/[idpId]/policies/page.tsx b/src/app/admin/idp/[idpId]/policies/page.tsx index 11f28b6c..de0f6bef 100644 --- a/src/app/admin/idp/[idpId]/policies/page.tsx +++ b/src/app/admin/idp/[idpId]/policies/page.tsx @@ -380,9 +380,10 @@ export default function PoliciesPage() { JMESPath to extract organization information from the ID token. This - expression must return true - for the user to be allowed - to access the organization. + expression must return thr + org ID or true for the user + to be allowed to access the + organization. @@ -576,9 +577,10 @@ export default function PoliciesPage() { JMESPath to extract organization information from the ID token. - This expression must return true - for the user to be allowed to - access the organization. + This expression must return the + org ID or true for the user to + be allowed to access the + organization. diff --git a/src/app/auth/login/page.tsx b/src/app/auth/login/page.tsx index e4a93577..8227c1a0 100644 --- a/src/app/auth/login/page.tsx +++ b/src/app/auth/login/page.tsx @@ -43,7 +43,7 @@ export default async function Page(props: { return ( <> {isInvite && ( -
+

diff --git a/src/app/auth/signup/page.tsx b/src/app/auth/signup/page.tsx index 69e023da..7f2205b4 100644 --- a/src/app/auth/signup/page.tsx +++ b/src/app/auth/signup/page.tsx @@ -50,7 +50,7 @@ export default async function Page(props: { return ( <> {isInvite && ( -
+

diff --git a/src/components/ProfileIcon.tsx b/src/components/ProfileIcon.tsx index d63598b6..20139dea 100644 --- a/src/components/ProfileIcon.tsx +++ b/src/components/ProfileIcon.tsx @@ -38,7 +38,9 @@ export default function ProfileIcon() { const [openDisable2fa, setOpenDisable2fa] = useState(false); function getInitials() { - return (user.email || user.name || user.username).substring(0, 1).toUpperCase(); + return (user.email || user.name || user.username) + .substring(0, 1) + .toUpperCase(); } function handleThemeChange(theme: "light" | "dark" | "system") { @@ -95,10 +97,14 @@ export default function ProfileIcon() { {user.email || user.name || user.username}

- {user.serverAdmin && ( + {user.serverAdmin ? (

Server Admin

+ ) : ( +

+ {user.idpName || "Internal"} +

)}