OAuth (GitHub, Google)
Generated from
mcp/patterns.registry.json— do not edit by hand; change the registry and runbun 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 · 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 mcp/patterns.registry.json.