Updated

Auth.js

Open-source authentication library (formerly NextAuth.js) for Next.js, SvelteKit, Express and other frameworks, with OAuth providers, email links and database adapters.

64 open-source projects declare Auth.js in their code; no maker's live product we track uses it yet.

Open sourceSelf-hostableFree tier

Profile checked

Ask your AI about this, with this page as the source:ChatGPT ↗Claude ↗Perplexity ↗

How makers use Auth.js

What Auth.js is used for

Authentication · Library in your app →Existing Next.js apps built on NextAuth, and teams that want OAuth sign-in with users in their own database.Trade-off: The project is now part of Better Auth, which offers a migration guide; v5 has stayed in beta for a long time, and features like two-factor or organizations are yours to build.
Clerk336Auth021WorkOS20Supabase13Better Auth7Auth.js0Makers' products on each, for authentication

Auth.js vs the alternatives makers chose

OptionMakers' products2026 launchesFree forAt 10,000 usersOpen source
Clerk336 80%84%~50,000 users$0/mo · HobbyNo
Auth021 5%2%~25,000 users$0/mo · FreeNo
WorkOS20 5%8%~1,000,000 users$0/mo · AuthKitNo
Supabase13 3%2%~50,000 users$0/mo · FreeYes
Better Auth7 2%0%Any size$0/mo · Self-hosted (open source)YesCompare →
Kinde7 2%0%~10,000 users—No
Auth.js0 0%0%Any size—Yes

For authentication: how many of the 422 makers' products we know the authentication of chose each option, and the share among the 98 launched in 2026, since a tool that came first has products from every year, and what each costs at 10,000 users.

Costs are the cheapest plan that fits, from each vendor's pricing page, at the usage our stack planner assumes for a product with that many users. Free for: the users its cheapest plan a business can use stays free for.

When to use Auth.js, and when not

Something else fits better if

  • You're on Next.js or React and want sign-in, profiles and teams working today: Clerk.
  • Your data is already in Supabase or Firebase: Supabase or Firebase.
  • You want users in your own database and no per-user bill: Better Auth.
  • You sell to companies whose IT team will ask for SAML SSO or SCIM: WorkOS or Auth0.
From each decision's guide, written from what makers' products chose and why.

How Auth.js itself is built

30 tools, from its own code, website and Product Hunt page.

What Hacker News says about Auth.js

On Hacker News, 24% of comments about Auth.js recommend it and 14% criticize it: net praise +10%.

By year

YearComments choosing it, per monthNet praise
20230.2—
20240.30%
20250.20%
2026 (8 mo)0.3—

In their words

  • “It's been really great so far and I can recommend it if you have a JS/TS codebase.” HN, Oct 2024
  • “I was so frustrated with NextAuth I ended up using nginx to set up http basic auth.” HN, May 2025

Hacker News comments January 2023 to August 2026 that name Auth.js in a sentence like "I use" or "we moved to", Claude read a sample of 21 and the counts scale it to all of them; net praise is comments recommending it minus comments criticizing it, as a share of all comments about it. How it's counted, and how HN compares with makers.

Reliability and open issues

The most wanted open issue on GitHub has 27 👍.

Most wanted on GitHub

Open on 2026-10-04 in nextauthjs/next-auth, with activity in the last year — issues and feature requests by 👍.

Who uses it

No maker's live product on record yet, and 64 open-source projects that declare it in their code.

We haven't found a maker's live product that uses Auth.js yet — only the open-source projects below, which declare it in their code.

waoowaoo
waoowaoo首家工业级全流程 AI 影视生产平台。Industry-first professional AI Agent platform for controllable film &…AuthenticationIn its code · source ↗

Open source: a project that declares Auth.js as a dependency in its public code — verifiable, but not necessarily a live product.

What its projects tell coding agents

24 of the 40 open-source products built with Auth.js that were worked on in the last 180 days keep instruction files for coding agents — 60%, against 53% of all the projects we read. AGENTS.md is in 20, CLAUDE.md in 13.

1,317words in the median file
npmthe package manager most named, in 8 of 21 files
76%say how to test a change
Named more in these files than in other projects' — in how many of the 21:
What AGENTS.md files say about other tools →What open-source products tell their coding agents →

Alternatives to Auth.js

All alternatives by situation →

Further reading

Questions makers ask about Auth.js

What are the alternatives to Auth.js?

For authentication, the other options makers' products we track chose most are Clerk (336), Auth0 (21), WorkOS (20), Supabase (13), Better Auth (7), Kinde (7). Open source or self-hostable among them: Supabase, Better Auth. Each alternative, with the situation it fits, is on the Auth.js alternatives page.

Is Auth.js free?

Yes — it is free, open-source software.

Is Auth.js open source or self-hostable?

Open source, and you can self-host it. source ↗

Can AI coding agents work with Auth.js?

No llms.txt, official MCP server or CLI found yet.

Who uses Auth.js?

No maker's live product we track yet; 64 open-source projects declare it in their code. source ↗