# nextauthjs/next-auth

> Authentication for the Web.

- GitHub: https://github.com/nextauthjs/next-auth
- Website: https://authjs.dev
- Category: Auth & Payments (https://ideas.asveas.com/c/auth-payments)
- Tags: auth, authentication, csrf, jwt, nextauth, nextjs, node, nuxt, nuxt-auth, oauth, oauth2, oidc, react, remix-auth
- Language: TypeScript · License: ISC
- Stars: 28,378 · Forks: 4,024 · Open issues: 604
- Last push: 2026-07-22 (4 months ago)
- Vibe score: 72/100

## What it is
Auth.js Authentication for the Web. Open Source. Full Stack. Own Your Data. Auth.js is a set of open-source packages that are built on standard Web APIs for authentication in modern applications with any framework on any platform in any JS runtime. Auth js is now part of Better Auth. We recommend new projects to start with Better Auth unless there are some very specific feature gaps (most notably stateless session management without a database).

## When to use it
Reach for next-auth when you need sign-in, users, permissions, subscriptions or getting paid — it's written in TypeScript and fits stacks tagged auth, authentication, csrf, jwt.

## Maintenance
nextauthjs/next-auth looks actively maintained: the last push was 4 months ago (2026-07-22), with 28,378 stars and 604 open issues.

## Quick start
```bash
git clone https://github.com/nextauthjs/next-auth.git
```

## Alternatives in Auth & Payments
- [keycloak/keycloak](https://github.com/keycloak/keycloak) — Open Source Identity and Access Management For Modern Applications and Services (★37.8k, Java, vibe 91/100) · details: https://ideas.asveas.com/r/keycloak/keycloak
- [better-auth/better-auth](https://github.com/better-auth/better-auth) — The most comprehensive authentication framework (★30.7k, TypeScript, vibe 90/100) · details: https://ideas.asveas.com/r/better-auth/better-auth
- [logto-io/logto](https://github.com/logto-io/logto) — 🧑‍🚀 Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC and OAuth 2.1 with multi-tenancy, SSO, and RBAC. (★14.9k, TypeScript, vibe 87/100) · details: https://ideas.asveas.com/r/logto-io/logto
- [polarsource/polar](https://github.com/polarsource/polar) — Polar — A billing platform for the intelligence era (★10.5k, Python, vibe 85/100) · details: https://ideas.asveas.com/r/polarsource/polar
- [stripe/stripe-node](https://github.com/stripe/stripe-node) — Node.js library for the Stripe API. (★4.6k, TypeScript, vibe 77/100) · details: https://ideas.asveas.com/r/stripe/stripe-node
- [lucia-auth/lucia](https://github.com/lucia-auth/lucia) — Authentication, simple and clean (★10.4k, TypeScript, vibe 67/100) · details: https://ideas.asveas.com/r/lucia-auth/lucia

---
Source: https://ideas.asveas.com/r/nextauthjs/next-auth · Catalog: https://ideas.asveas.com/llms.txt
