Skip to main content

OAuth (GitHub, Google)

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 (OAuth identity providers)

Sign-in via OAuth 2.0 providers, GitHub and Google, wired through Better Auth's built-in OAuth plugin.

When to use: Offer it alongside magic link/OTP as an alternative sign-in path for users who prefer an existing provider account.

Docs

Code

Proof


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

← Back to Pattern Library

Think this pattern could be better? Tell us how.

Leave feedback