
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.
Profile checked
How makers use Auth.js
What Auth.js is used for
Auth.js vs the alternatives makers chose
| Option | Makers' products | 2026 launches | Free for | At 10,000 users | Open source | |
|---|---|---|---|---|---|---|
| 336 80% | 84% | ~50,000 users | $0/mo · Hobby | No | ||
| 21 5% | 2% | ~25,000 users | $0/mo · Free | No | ||
| 20 5% | 8% | ~1,000,000 users | $0/mo · AuthKit | No | ||
| 13 3% | 2% | ~50,000 users | $0/mo · Free | Yes | ||
| 7 2% | 0% | Any size | $0/mo · Self-hosted (open source) | Yes | Compare → | |
| 7 2% | 0% | ~10,000 users | — | No | ||
| 0 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.
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
| Year | Comments choosing it, per month | Net praise |
|---|---|---|
| 2023 | 0.2 | — |
| 2024 | 0.3 | 0% |
| 2025 | 0.2 | 0% |
| 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
- Cannot modify JWT to refresh access_token👍 27 · opened Jan 2025 · active Nov 2025
- Authjs v5 redirecting to the wrong URL👍 19 · opened May 2024 · active Sep 2026
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.
None of these in makers' own words.
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.
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 ↗