OSS Tanbou

Auth.js — authentication packages built on standard Web APIs

OSS health 86
About these scores

Discovery score is an unbounded weighted, log-compressed index of stars, watchers, forks, and contributors. Growth momentum is its change over the observed period; OSS health is a 0–100 score from available repository recency, Community Health, and release data.

Stars
28,367
Primary language
TypeScript
License
ISC
Repository last updated
Jul 22, 2026

Overview

Auth.js is a set of open-source packages for implementing authentication across frameworks, platforms, and JavaScript runtimes. It supports OAuth 2.0 and OIDC providers, passwordless sign-in, Passkeys and WebAuthn, and database-backed or stateless sessions.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Choose providers, sessions, and databases around application requirements

Applications can combine many sign-in providers, email or passwordless flows, and Passkeys, with or without a database. Defaults include CSRF tokens on POST routes, restrictive cookie policies, and encryption when JSON Web Tokens are used.

Sources: [1]

For JavaScript applications choosing how authentication data and sessions work

It is a candidate for teams that want to reduce framework-specific authentication code while retaining control of data storage, providers, and session policies. Verify the relevant adapter and framework integration across sign-in, sign-out, session refresh, and account linking.

Sources: [1]

Review the Better Auth direction before choosing it for a new project

Auth.js is now part of Better Auth, and the README recommends Better Auth for new projects. A notable exception is a feature gap around stateless session management without a database. Because the Auth.js brand, next-auth repository and npm package, and older documentation names coexist, pin the intended integration and version. The license is ISC.

Sources: [1]

Official sources

  1. [1]Auth.js README(2026-09-13)
Supplemental curator note

Selected for explicitly connecting NextAuth.js, Auth.js, and Better Auth while repository and package identifiers continue to coexist.

Growth

Growth trends · Last 30 days

28,367 Stars

Trend data is still being collected.

Development activity

Last 90 days · weekly

Commits (last 30 days)
0
Open PRs
210

Development activity is still being collected.

Built with

Categories and tags

GitHub data

GitHub dataView detailed GitHub data

GitHub Topics

  • nodejs
  • nextjs
  • oauth
  • react
  • authentication
  • nextauth
  • csrf
  • jwt
  • oauth2
  • oidc
  • auth
  • nuxt
Stars
28,367
Forks
4,043
Watchers
117
Open issues
393
Primary language
TypeScript
License
ISC
Repository last updated
Jul 22, 2026
Report incorrect information

Tell us if any listing information is incorrect or outdated.