Skip to content
StackPick

Alternatives · Auth

Best Auth.js alternatives

Rankings as of

Auth.js, formerly NextAuth, is an open-source authentication library. You add providers, keep sessions in your app, and host it yourself. Use it when you want auth in the repo and a bill of zero. Use Clerk when you want someone else to own the edge cases.

Auth.js scores 6.9 in Auth (Sign-in without a week of edge cases). The 2 alternatives below are the other tools in that job, ordered by their StackPick score. How we score.

Initial editorial estimate. Not a measured benchmark. Affiliate links may be used to monetize, but they never affect scores or rankings, and rankings are never sponsored.

Some links may earn us a commission. It never changes scores or order.

The tool

Auth.js

Also known as NextAuth

Open-source auth for Next.js and other frameworks. You host it.

Best for Auth you host, for free

Ranked alternatives

  1. 01

    Clerk

    Pick this if Sign-in components you do not design yourself

    Hosted auth with prebuilt components for Next.js and friends.

    Freemium
  2. 02

    WorkOS

    Pick this if SSO when a company customer requires it

    Enterprise SSO, directory sync, and auth for B2B apps.

    Check site