SuperTokens
Reasonable, with limits. 5th of 10 authentication libraries.
SuperTokens is an open-source auth system: this Node.js SDK sits in front of a separate Java core that you self-host or rent as a managed service. Its session handling is strong and its React login UI is polished. But it takes more setup than an embedded library, some features are paid, and its share is falling behind Better Auth, which suits most new projects better.
Best for: Teams that want strict session security, a prebuilt React login UI, and the option of a managed or self-hosted auth core.
Scores
Overall6.3
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
SuperTokens is a capable, actively maintained auth system with very good session security and a managed option. For most new JS and TS projects, Better Auth does the same job inside your app, with free MFA, more databases and much faster growth. That makes SuperTokens a reasonable but niche pick. Paid features, the separate core and recent breaking patch releases keep it out of the top tier.
- peers Better Auth downloads: 76M against 1.8M a year ago; SuperTokens is at 316k
- dev.to/noorix1/self-hosted-nodejs-authentication-in-2026-9ao: Trade-offs against Better Auth
- better-stack.ai/p/blog/open-source-auth-libraries-in-2026: Better Auth is the top pick; SuperTokens suits atypical flows
GPT-6.2 Sol: 7.1, likely 5.9 to 8.2
SuperTokens is a strong choice for teams that want a dedicated authentication service with customizable sign-in and sessions. Better Auth is the easier starting point for most teams that want authentication inside their application and has substantially stronger adoption momentum in this catalog. Active releases and security backports support choosing SuperTokens, while operating and upgrading the Core adds work that matters more for smaller teams.
- supertokens.com/docs/quickstart: Documents the SDK integration and required production Core.
- better-auth.com/docs/installation: Better Auth runs in the app and connects directly to a supported database.
- peers Better Auth and npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo: Better Auth grew about 41.7× over the comparison window versus 2.43× for the SDK.
- github.com/supertokens/supertokens-node/releases: Stable releases and security backports show active maintenance.
Needed by many5.7
How many developers need a tool for this job?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
Most web apps with a backend need sign-in and sessions. SuperTokens' take is narrower than the category: it needs a Node backend plus a separately run core, and its best UI support is for React. That fits a smaller group than embedded libraries do.
- project.note: SDK depends on a separate SuperTokens core service
- dev.to/noorix1/self-hosted-nodejs-authentication-in-2026-9ao: Strongest React support; Angular and Vue get only the lower-level web SDK
GPT-6.2 Sol: 5.8, likely 4.7 to 6.9
Sign-in and sessions are common needs for JavaScript and TypeScript web apps. This SDK serves several backend frameworks, and its separate Core is a better fit for teams that want a dedicated authentication service. Developer surveys show broad use of authentication tools, but give little detail on how many teams want this deployment model.
- 2025.stateofreact.com/en-US/other-tools: React developers report using a broad mix of authentication tools.
- supertokens.com/docs/quickstart: Documents framework integrations and a separate production Core deployment.
Helps a lot7.1
How well does it do the job for those who need it?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
It covers a lot: email and password, passwordless, social login, WebAuthn, SAML (new in 24.0.0), multi-tenancy, and a token rotation design that independent writers praise. Against that, several key features are paid, the separate core adds work to run, it supports fewer databases and social providers than Better Auth, and users report that wiring it up is hard. TypeScript types are included.
- dev.to/noorix1/self-hosted-nodejs-authentication-in-2026-9ao: Most rigorous session design; MFA and multi-tenancy are paid; fewer providers than Better Auth
- better-stack.ai/p/blog/open-source-auth-libraries-in-2026: Highly customizable, but more setup and plumbing and a heavier frontend bundle
- github.com/supertokens/supertokens-node/releases: SAML, WebAuthn and plugins added in recent majors
- npm hasTypes: Ships TypeScript types
GPT-6.2 Sol: 7.7, likely 6.4 to 8.7
Version 24.1.0 offers typed sign-in recipes, session and claims middleware, and prebuilt passkey enrollment UI. The quickstart and agent integration guide give developers and coding agents examples to work from. Custom clients have to coordinate token refreshes, and a developer reported difficulty wiring a multi-tenant signup flow. Direct performance tests and measurements of coding-agent accuracy are sparse.
- npm hasTypes and latestVersion: Stable SDK 24.1.0 ships TypeScript declarations.
- github.com/supertokens/supertokens-node/releases/tag/v24.1.0: Documents session changes, custom-client requirements, and clearer SAML errors.
- supertokens.com/docs/integrate-with-ai: Provides an integration guide for AI coding agents.
- startwithidentity.com/reports/identity-developer-experience-2026: Independent feature review confirms embeddable UI and passkey enrollment.
- reddit.com/r/node/comments/1jtjyg1/ive_spent_2_days_wiring_supertokens_and_i_still: One developer struggled with multi-tenant signup while another reported a smooth simpler setup.
Holds up over time6.6
Will it still be a good choice in two years?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
A YC-backed company maintains it, with 127 commits, 10 releases and 42 contributors in the last year, and it still maintains older lines (22.x, 23.x) with security backports. The company is small: its last reported funding was in December 2023, and the market is moving towards embedded libraries like Better Auth. Behaviour-breaking changes arrived in patch releases in October 2026.
- github commitsLastYear / releasesLastYear: 127 commits and 10 releases in the last year
- github.com/supertokens/supertokens-node/releases: Breaking changes in 24.0.4 and 24.1.0; fixes backported to 22.x and 23.x
- supertokens.com/blog/supertoknes-rownd-business-line-acquisition: Company acquired the Rownd auth business in 2026, so it is active
- SuperTokens about page via seedtable: Last funding reported in December 2023
GPT-6.2 Sol: 7.2, likely 6.0 to 8.3
The SDK shipped 10 GitHub releases and recorded 127 commits in the past year, with company backing and recent security backports. The SDK and Core have separate release lines, and Core upgrades can change session behavior. The visible SDK release runs are concentrated around one maintainer, and the public issue backlog gives limited evidence about typical response times.
- github commitsLastYear, releasesLastYear, openIssues, openPullRequests and contributors: 127 commits, 10 releases, 89 open issues, 37 open pull requests, and 42 listed contributors.
- ycombinator.com/companies/supertokens: Company backing for the open-source project and managed service.
- github.com/supertokens/supertokens-node/releases: Recent feature releases and backports on multiple SDK lines.
- github.com/supertokens/supertokens-node/actions/workflows/pipeline-release-tag.yml: Recent release runs repeatedly show the same maintainer.
- supertokens.com/docs/references/updating-supertokens: Core and SDK upgrades require checking version compatibility.
Used widely3.7
How many use it, and is that growing?
Claude Opus 5.5: 4.0, likely 3.0 to 5.0
It had about 316k downloads in four weeks and 597 dependent repositories. That is real use but small next to Better Auth, Auth.js or Passport. Downloads grew 2.4x in a year, against a median of 4.1x, so its share is shrinking. It has no Hacker News or Bluesky attention in the window.
- npm downloadsLast4Weeks: 315,794, against 129,853 a year earlier (2.4x)
- medianDownloadsRatio: Median growth is 4.1x, so it is losing ground
- dependents.repos: 597 repos, fewer than iron-session's 900 and far fewer than Auth.js's 19,200
- bluesky.posts / hackerNews.stories: 0 posts and 0 stories
GPT-6.2 Sol: 3.3, likely 2.2 to 4.5
Ecosyste.ms found 597 dependent repositories and 14 dependent packages, a modest footprint beside Auth.js and Passport even allowing for incomplete coverage. Four-week installs grew from about 130,000 to 316,000, but the 2.43× ratio trails the catalog median of 4.1×, suggesting a loss of relative share. The Core repository draws much more attention, which makes the SDK’s 330 stars and zero Bluesky matches incomplete measures of interest in the platform.
- dependents and peers dependentRepos: 597 SDK repositories versus 19,200 for Auth.js and 264,838 for Passport in the index.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo and medianDownloadsRatio: 315,794 versus 129,853 installs, or 2.43× against a 4.1× catalog baseline.
- github stars and bluesky posts: The SDK repository had 330 stars and zero matching Bluesky posts.
- github.com/orgs/supertokens/repositories: The separate Core repository had about 15,000 stars.
Vouched for4.9
Who stands behind it being good?
Claude Opus 5.5: 4.0, likely 3.0 to 5.5
Independent comparisons praise its session design and customizability but rank Better Auth first for most users. Review-site evidence is thin: one G2 review and a 3.0 rating on Product Hunt. Much of the online material comes from SuperTokens' own blog. It does not appear in developer surveys.
- better-stack.ai/p/blog/open-source-auth-libraries-in-2026: Positioned for unusual auth flows, not as the default
- dev.to/noorix1/self-hosted-nodejs-authentication-in-2026-9ao: Independent praise for its token rotation and React UI
- g2.com/products/supertokens/reviews: Very few user reviews
GPT-6.2 Sol: 5.8, likely 4.5 to 7.0
Engineers at Curology and n1co describe production migrations in vendor-published interviews. An independent 2026 review scored the platform 72 out of 100 on documented developer features, close to its sample median of 70.5. Independent developer reports are mixed, and there is little current survey evidence on satisfaction or retention for this SDK.
- supertokens.com/customers/curology: A Curology engineer describes choosing and migrating to SuperTokens.
- supertokens.com/customers/n1co: An n1co engineer describes rollout across two business lines.
- startwithidentity.com/reports/identity-developer-experience-2026: Independent review scores documented features across 28 platforms.
- reddit.com/r/nextjs/comments/1kf2jrp/authjs_vs_better_auth: A developer describes switching to Better Auth and explains the trade-offs.
- 2025.stateofreact.com/en-US/other-tools: The authentication question measures reported use and gives no SDK retention estimate.
Safe6.6
How safe is it to depend on?
Claude Opus 5.5: 6.5, likely 5.0 to 7.5
OSV lists no advisories for the SDK, the npm licence is Apache-2.0, and the team ships security fixes with backports, such as a SAML open-redirect fix and token validation tightening. Against that, there is no Scorecard data, the SDK pulls in 15 dependencies, and you take on the attack surface of a separately run core. Fixes delivered in breaking patch releases add upgrade risk.
- advisories.total: 0 known advisories
- npm dependencies: 15 direct dependencies
- scorecard: No OpenSSF Scorecard data
- github.com/supertokens/supertokens-node/releases: Security fixes such as the SAML open redirect, backported to older lines
GPT-6.2 Sol: 6.7, likely 5.4 to 7.9
The SDK is Apache-2.0 licensed, and its release workflow uses npm trusted publishing. GitHub lists seven October SDK advisories that the OSV snapshot missed, including five rated high, and all seven had fixes in 24.0.4 before disclosure. The separately deployed Core also received security backports for serious findings. The 15 direct npm dependencies, missing Scorecard, and limited visibility into who can authorize releases keep the range wide.
- npm license, npm dependencies, advisories and scorecard: Apache-2.0, 15 direct dependencies, zero OSV matches, and no Scorecard result.
- github.com/supertokens/supertokens-node/security/advisories: Seven public SDK advisories, five rated high.
- github.com/supertokens/supertokens-node/releases/tag/v24.0.4: Fixes shipped on October 21, a day before disclosure.
- github.com/supertokens/supertokens-core/security/advisories: The required Core service has its own security advisories and patched release lines.
- raw.githubusercontent.com/supertokens/supertokens-node/v24.1.0/.github/workflows/pipeline-release-tag.yml: The tagged release workflow uses npm trusted publishing.
Good
- Session design with rotating refresh tokens and theft detection is among the most careful in the category.
- Prebuilt React sign-in UI and recipe overrides let you customize flows without writing auth from scratch.
- You can self-host the Apache-2.0 core or use the company's managed cloud with the same SDK.
- Recent releases added SAML, WebAuthn and plugins, and they ship security tightening regularly.
Bad
- You must run and upgrade a separate Java core service with its own database, which embedded libraries like Better Auth avoid.
- MFA, multi-tenancy, account linking and attack protection are paid add-ons.
- Breaking behaviour changes have landed in patch and minor releases, such as 24.0.4 and 24.1.0, and they track core versions.
- Downloads grew about 2.4x in a year while the median project grew 4.1x, so it is losing ground to Better Auth.
The numbers
- npm downloads, 4 weeks
- 316k ×2.4 in a year
- GitHub stars
- 330
- Commits, 12 months
- 127
- npm version
- 24.1.0 Oct 2026
- Versions, 12 months
- 9
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- Apache-2.0
The repository and the package are the Node.js SDK. The SuperTokens core is a separate service in another repository.
Read on 21 November 2026 from GitHub (supertokens/supertokens-node), npm (supertokens-node), OSV and the OpenSSF Scorecard.
Authentication libraries
- 8.5Better Auth
- 8.3jose
- 7.9openid-client
- 6.8iron-session
- 6.3SuperTokens
- 5.2jsonwebtoken
- 4.9Passport
- 4.0Auth.js
- 1.6Arctic
- 1.6Lucia