Skip to content
startupstools

Auth.js

Open-source authentication for Next.js and other web frameworks

Open sourceOpen source

What is Auth.js?

Auth.js (formerly NextAuth.js) is an open-source library for adding OAuth, email and credential login to Next.js, SvelteKit, Express and other frameworks. It supports many providers and database adapters. The project is now maintained by the Better Auth team.

Best for: Next.js developers who want simple OAuth login without a hosted provider.

Pros

  • +Free and widely used
  • +Many OAuth providers built in
  • +Database adapters for most ORMs

Cons

  • −Fewer features than Better Auth (no orgs, limited 2FA)
  • −Maintenance has moved to Better Auth, which is the recommended path for new projects

Auth.js pricing

Free plan
Free and open source (ISC)
Paid from
—
Trial
—

Prices from authjs.dev, checked November 2026. Vendors change plans often, so confirm before buying.

Auth.js alternatives

All Auth.js alternatives →

Comparisons

Auth.js FAQ

Is Auth.js free?

Auth.js is open source and free to self-host.

What are the best Auth.js alternatives?

The best Auth.js alternatives for startups are Better Auth, Clerk, Supabase, Auth0 and WorkOS. Better Auth, Clerk and Supabase have a free plan.

Does Auth.js have a startup discount?

We haven't found a public startup program for Auth.js. Many vendors still offer discounts on request, and perk marketplaces sometimes include one.

Who is Auth.js best for?

Next.js developers who want simple OAuth login without a hosted provider.

More authentication and user management tools

See all →