Auth.js (next-auth)
Some data may be outdated — see provenance labels.
Authentication for the Web. observed · 2026-09-23
Health v2 · maintenance only
84/100
- Activity 85
- Release rhythm 74
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 0.0
- age_days: 3188
- days_rel: 92
- days_push: 90
- n_releases_24m: 293
Adoption not part of the score
28373 stars · 4040 forks observed · 2026-09-23
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-09-23 · 6adaffa5f050
- homepage: https://authjs.dev · fetched 2026-09-21 · decf3d42000c
- site_page: https://authjs.dev/getting-started · fetched 2026-09-21 · a30c0e6efe9e
- site_page: https://authjs.dev/getting-started/integrations · fetched 2026-09-21 · 00cbc2c7648b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nextauthjs/next-auth | main | 84 |
| nextauthjs/next-auth-example | frontend | 48 |
| nextauthjs/sveltekit-auth-example | frontend | 68 |
| nextauthjs/next-auth-typescript-example | frontend | 10 |
| nextauthjs/adapters | sdk | 10 |
| nextauthjs/react-query | plugin | 10 |
| nextauthjs/next-auth-refresh-token-example | frontend | 32 |
| nextauthjs/cli | infra | 17 |
| nextauthjs/docs | docs | 10 |
For agents
markdown · JSON · MCP: product_card(name="nextauthjs/next-auth")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem