neon-auth
Add authentication to a new app. Use for "add auth", "add login", Neon Auth (Managed Better Auth), identity routing, sign-up, sign-in, password reset, email OTP, magic links, organizations, phone OTP, OAuth, passkeys, MFA, trusted domains, invalid domain, and @neondatabase/auth. No existing identity: default to Managed Better Auth. Keep working Better Auth, Clerk, Supabase Auth, or another IdP. User asked to migrate from Supabase Auth: Managed Better Auth. A required plugin outside Managed support: self-managed Better Auth on a Neon Function or the existing app host. Also use for auth APIs in @neondatabase/neon-js.
Pinned to revision de48bd099a91, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/neon-auth/SKILL.md
- skills/neon-auth/references/managed-auth.md
- skills/neon-auth/references/self-managed.md
Every link opens the file at its source, pinned to the revision this page describes.