Single sign-on
Signing in through an identity provider in the sign-in card: Google, Microsoft and a work e-mail for SAML.
Inset · No navigation. <AppShell direction="inset">, the default: the navigation on the grey app frame, the page a raised white card inside it, scrolling within.
npx wideset add block-sso-sign-in
Import the default export from @/blocks/wideset/sso-sign-in. The files below are relative to your project's source directory.
Installed with this block
block-stylesbuttondividerform-fieldtext-inpututils
blocks/wideset/sso-sign-in/index.tsx
'use client';
import '@/styles/wideset-blocks.css';
import { AuthCard } from './auth-card';
import { ROUTES } from './data';
import { SsoForm } from './sso-form';
/**
* Single sign-on, Inset direction with no navigation: the sign-in card with Google, Microsoft and a
* work e-mail for SAML.
*/
export default function SsoSignIn() {
return (
<main className="ws-block-utility bg-ws-static-background p-ws-12 flex min-h-dvh items-center justify-center">
<AuthCard
other={{ href: ROUTES.signUp, label: 'Create account' }}
className="w-full max-w-[38.75rem]"
>
<SsoForm />
</AuthCard>
</main>
);
}