NextAuth.js
Authentication for the Web. observed · 2026-08-28
Health v2 · maintenance only
90/100
- Activity 93
- Release rhythm 81
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0.0
- age_days: 3140
- days_rel: 44
- days_push: 42
- n_releases_24m: 517
Adoption not part of the score
28345 stars · 4044 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Auth.js (formerly NextAuth.js) is an open-source, runtime-agnostic authentication library built on standard Web APIs, with deep integrations for Next.js, SvelteKit, Express, Qwik, Remix, Nuxt, and SolidStart. It supports OAuth 2.0/OIDC providers, email/passwordless sign-in, WebAuthn passkeys, and optional database-backed sessions via adapters.
Use cases
- add google or github sign-in to a next.js app
- implement oauth2 login for a sveltekit application
- add passwordless email magic link authentication
- support passkeys and webauthn sign-in
- manage user sessions with or without a database
- add authentication to an express server
- integrate many oauth providers like discord, keycloak, auth0
When to choose
- you need full-stack authentication in a supported JS framework (Next.js, SvelteKit, Express, Qwik, etc.)
- you want to self-host auth and own your user data
- you need broad OAuth/OIDC provider coverage out of the box
- you want stateless JWT sessions without a database
When to avoid
- you are starting a brand-new project - the project now recommends Better Auth
- you need a fully managed hosted identity service with enterprise SSO compliance
- your stack is outside the JavaScript/TypeScript ecosystem
Facets
library · maturity maintenance
auth middleware http-server web-development security backend frontend serverless cross-platform oauth2 oidc jwt csrf passkeys webauthn nextjs sveltekit sso session-management database-adapters nodejs web-server typescript
4 sources
- readme: https://github.com/nextauthjs/next-auth · fetched 2026-08-28 · 6adaffa5f050
- homepage: https://authjs.dev · fetched 2026-08-29 · decf3d42000c
- site_page: https://authjs.dev/getting-started · fetched 2026-08-29 · a30c0e6efe9e
- site_page: https://authjs.dev/getting-started/integrations · fetched 2026-08-29 · 00cbc2c7648b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nextauthjs/next-auth | main | 90 |
| nextauthjs/next-auth-example | examples | 52 |
For agents
markdown · JSON · MCP: product_card(name="nextauthjs/next-auth")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem