stackpicks.dev
Built bynextauthjs

next-auth

Authentication for the Web.

28.3k stars4k forks111 watchers388 open issuesTypeScriptISC

TL;DR · 30-second scan

What it is

next-auth (TypeScript)Authentication for the Web.

What it does for you

You are shipping a Next.js MVP fast and need social login (Google, GitHub) working in an hour.

Best for

Authentication

28.3k GitHub starsLicense: ISCLast updated 2 months ago
EDITOR'S DEEP TAKE

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.

Use this if

You are shipping a Next.js MVP fast and need social login (Google, GitHub) working in an hour.

Skip if

You need fine-grained control over sessions, multi-tenant logic, or organization roles — pick Better Auth.

Categories
Topics
nodejsnextjsoauthreactauthenticationnextauthcsrfjwtoauth2oidcauthnuxtnuxt-authremix-authsolidjssveltekitwebsolid-auth
Maintainer? Embed our badge

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.

Preview
Featured on StackPicks
Markdown (for GitHub README)
[![Featured on StackPicks](https://stackpicks.dev/api/badge/nextauthjs-next-auth)](https://stackpicks.dev/repo/nextauthjs-next-auth)
HTML (for blogs / docs)
<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.

Created 27 Jan 2018
Last push 2 months ago
Stats refreshed 1 month ago