import { SignInButton, SignInFallback } from "@/components/sign-in-btn"; import { Suspense } from "react"; const features = [ { name: "Email & Password", link: "https://www.better-auth.com/docs/authentication/email-password", }, { name: "Organization | Teams", link: "https://www.better-auth.com/docs/plugins/organization", }, { name: "Passkeys", link: "https://www.better-auth.com/docs/plugins/passkey", }, { name: "Multi Factor", link: "https://www.better-auth.com/docs/plugins/2fa", }, { name: "Password Reset", link: "https://www.better-auth.com/docs/authentication/email-password#request-password-reset", }, { name: "Email Verification", link: "https://www.better-auth.com/docs/authentication/email-password#email-verification", }, { name: "Roles & Permissions", link: "https://www.better-auth.com/docs/plugins/organization#roles", }, { name: "Rate Limiting", link: "https://www.better-auth.com/docs/reference/security#rate-limiting", }, { name: "Session Management", link: "https://www.better-auth.com/docs/concepts/session-management", }, ]; export default async function Home() { return (

Better Auth.

Official demo to showcase{" "} better-auth. {" "} features and capabilities.

All features on this demo are implemented with Better Auth without any custom backend code
{features.map((feature) => ( {feature.name} ))}
{/* @ts-ignore */} }> {/* @ts-ignore */}
); }