next-auth
Authentication for the Web.
TL;DR · 30-second scan
next-auth (TypeScript) — Authentication for the Web.
You are shipping a Next.js MVP fast and need social login (Google, GitHub) working in an hour.
Authentication
The OG Next.js auth library, now Auth.js. ~24k stars. Quick to add OAuth providers (80+ preconfigured). Best for fast MVP work where you mostly need social login. Less flexible than Better Auth for advanced flows.
You are shipping a Next.js MVP fast and need social login (Google, GitHub) working in an hour.
You need fine-grained control over sessions, multi-tenant logic, or organization roles — pick Better Auth.
Add this badge to your README to show your project is curated on StackPicks. Free, lightweight (180×28 SVG), and gives your visitors a one-click way to see honest take + alternatives.
[](https://stackpicks.dev/repo/nextauthjs-next-auth)
<a href="https://stackpicks.dev/repo/nextauthjs-next-auth"><img src="https://stackpicks.dev/api/badge/nextauthjs-next-auth" alt="Featured on StackPicks" width="180" height="28" /></a>
Are you the maintainer of nextauthjs/next-auth? Add the badge and we'll feature your project in the weekly curator newsletter.