Auth 5 – Enterprise SSO sign in
- from @shadcncraft
Enterprise SSO sign-in card: a work-email step finds the company by email domain, then one button redirects to its identity provider, such as Okta or Microsoft Entra ID. Use for B2B apps with single sign-on. Includes loading states, an unknown-domain error offering password sign-in, and react-hook-form and zod validation.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @shadcncraft/auth-5Registry dependencies6
- button
- card
- field
- input
- item
- spinner
