Перейти к основному содержимому

Passwordless auth (magic link + OTP)

Generated from pattern-library/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: Identity & Access · Tier: light · Maturity: proven (verified 2026-08-20 @ 1a130d67) · Risk: medium — external managed service (email delivery)

Session-based authentication through Better Auth using a magic link and OTP code sent together in one email, with no passwords stored.

When to use: Use as the primary sign-in method to avoid password-related breach risk and reset friction.

Docs

Code

Proof


Machine-readable record: identity-passwordless-auth in pattern-library/registry.json.

← Back to Pattern Library

Думаете, этот паттерн можно сделать лучше? Расскажите как.

Оставить отзыв