Skip to main content

Auth forms (Better Auth client, not Superforms)

Generated from mcp/patterns.registry.json — do not edit by hand; change the registry and run bun run patterns:build.

Index card — the docs below are the canonical explanation; deep-tier pattern pages additionally carry invariants and emulation notes.

Category: Forms & Validation · Tier: light · Risk: medium — authentication flow, delegated to Better Auth client

Passwordless login (magic link + OTP) and OAuth forms built directly on the Better Auth client instead of Superforms, since Better Auth already handles rate limiting and token validation.

When to use: Use for any authentication entry point (email login, OTP verification, OAuth) instead of wiring the flow through Superforms.

Docs

Code

Proof


Machine-readable record: forms-auth-forms in mcp/patterns.registry.json.

← Back to Pattern Library

Think this pattern could be better? Tell us how.

Leave feedback