Skip to content
Search

Auth.js

lastmod 2026-11-03created 2022-12-285 edits

NextAuth.js renamed, with its features extended to be more general-purpose and decoupled

Features

  • Flexible
    • Usable anywhere: Next.js, Sveltekit, Vercel Edge / Serverless, etc.
    • Supports any DB: MySQL, Postgres, MongoDB,..
    • Database sessions or JWT
  • Easy
    • Supports services such as Google, Facebook, Auth0, Apple
    • OAuth 2 + Open ID support
    • Built-in email / Passwordless / magic link features
    • Can be used with a Username / Pasword store
  • Secure
    • Signed, prefixed, server-only cookies
    • Built-in CSRF protection
    • JWT with JWS / JWE / JWK
    • Tab syncing, auto-revalidation, keepalives
    • Does not rely on client-side JavaScript

See also

Favorite site

author Zer0 sitemap