Passwords
Hashed with Argon2id, checked against known breaches, with lockout after repeated failures.
Read moreInstall the SDK, put your keys in .env.local, then protect routes and read the signed-in user on the server.
npm i @zautha/nextjs @zautha/uipnpm add @zautha/nextjs @zautha/uiyarn add @zautha/nextjs @zautha/uibun add @zautha/nextjs @zautha/uiimport { createRouteMatcher, zauthaProxy } from "@zautha/nextjs/server";
const isProtected = createRouteMatcher(["/dashboard(.*)"]);
export default zauthaProxy(async (auth, req) => { if (isProtected(req)) await auth.protect();});
export const config = { matcher: ["/((?!_next/static|_next/image|favicon.ico).*)"] };import { Suspense } from "react";import { currentUser } from "@zautha/nextjs/server";
async function SignedInAs() { const user = await currentUser(); return <p>Signed in as {user?.primary_email_address}</p>;}
export default function Dashboard() { return ( <Suspense> <SignedInAs /> </Suspense> );}Passwords
Hashed with Argon2id, checked against known breaches, with lockout after repeated failures.
Read moreEmail codes and links
Sign in or verify an address with a one-time code or a sign-in link.
Read morePasskeys
Sign in with a passkey, or use one as a second factor.
Read moreAuthenticator apps
Time-based one-time codes (TOTP) as a second factor, with backup codes.
Read moreSocial sign-in
Google, GitHub, Microsoft, Discord, GitLab and Apple.
Read moreOrganizations
Organizations with roles, custom permissions and invitations.
Read moreWebhooks
Signed events for users, sessions and organizations, retried when your server fails.
Read moreAudit log
Changes made in the dashboard or with a secret key are recorded: who, what and when.
Read moreImpersonation
Sign-up restrictions
Allow or block sign-ups by email address or domain.
Read moreCustom domains
Serve sign-in from your own domain, so its cookies are your site's.
Read moreOIDC
A standard OpenID Connect provider for any app or tool that speaks it.
Read moreReady-made components
Sign-in, sign-up, user and organization components for React, Next.js and JavaScript, and a hosted login page.
Read moreMFA, passkeys and breach checks are included on every plan, free included. First-class .NET: an ASP.NET Core SDK and quickstart next to the JavaScript ones.
Zautha runs on a single server at Hetzner in Germany. Your users' data is stored there, and backups are encrypted before they leave the server.
The Free plan has 3 applications with 50,000 monthly retained users each. Pro is $25 a month with 100,000 monthly retained users per application included. See pricing