Skip to content

Supertokens

Self-hosted login and session management for developers who own their user data

Open core · Apache-2.0 + open core

Listed by , founder & editor

66

Health

Active

Overview

Stars

15,347

Last commit

17 days ago

Nov 2026

Repository age

6 years

since Jan 2020

Latest version

v12.5.0

Nov 2026

Contributors

–

3 active in 90 days

Releases

25

last 12 months

Language

Java

SuperTokens is an open-core authentication provider written in Java. It has three parts: a frontend SDK that manages session tokens and renders login widgets, a backend SDK that exposes sign-up, sign-in, sign-out and session refresh APIs, and the SuperTokens Core, an HTTP service that handles auth logic and database operations.

SDKs cover Node.js, Go, Python, React, React Native and vanilla JS. Features include email and password login, passwordless login, social login, phone and password login, session management, multi-factor authentication, user roles, microservice authentication, and multi-tenancy with enterprise SSO. A user management dashboard is available.

You run the core against your own database, so you keep your user data. The project says there is no limit on user numbers. Features are decoupled, so you can use only login or only session management, including alongside other providers such as Auth0. A hosted plan exists as an option. The license is Apache-2.0. It is an alternative to Firebase Auth and AWS Cognito.

Who it's for

Developers replacing per-user auth pricing

The self-hosted core has no user limits and stores users in your own database.

Skip if: You want a fully managed service with no infrastructure.

Teams that want to avoid auth lock-in

Because you hold the user data, you can switch away without forcing resets.

Skip if: You are tied to AWS IAM or API Gateway integration.

Apps needing multi-tenant login

Multi-tenancy and enterprise SSO support are listed features.

Skip if: You need SAML federation without paid add-ons.

The problem it solves

Hand-rolling authentication is slow and risky, while hosted providers charge per user and hold your user records. This gives you login and sessions on your own database, with SDKs for common stacks.

Strengths

  • Frontend, backend and core split with SDKs for Node.js, Go, Python and React
  • Covers passwordless, social, email, phone, MFA and roles
  • Users live in your own database with no user-count limits
  • Login and session management can be adopted separately
  • Frequent releases: 25 in the last year

Trade-offs

  • Enterprise SSO and MFA may need a paid license
  • Needs the Java core service run alongside your app
  • No Firebase-style suite beyond authentication
  • Phone and SMS auth needs extra setup

Supertokens replaces

Self-host Supertokens

Self-hostable
Yes
Hosted plan
From $20/month · pricing

In the community

Frequently asked questions

Is SuperTokens free?

The self-hosted core is Apache-2.0 and has no user limits. A hosted plan is also offered, starting at $20 per month.

Can I self-host it?

Yes. You run the core service against your own database.

Which languages have SDKs?

Node.js, Go, Python, React.js, React Native and vanilla JS are among them.

Can I use it with Auth0?

Yes. Session management can be integrated with other login providers such as Auth0.

Similar tools in Identity and access management

Zitadel

Identity and access management

Self-hosted identity platform with SSO, multi-tenancy and a full event audit trail

16k 1.4k today Thriving AGPL-3.0

Replaces Auth0KeycloakOkta

Cerbos

Identity and access management

Self-hosted authorization service that checks access rules written as YAML policies

4.7k 220 yesterday Thriving Apache-2.0

Hanko

Identity and access management

Self-hosted authentication API with passkeys, SSO and web components for app developers

9.1k 1k 4 days ago Thriving AGPL-3.0

Pocket ID

Identity and access management

Self-hosted OpenID Connect provider that signs users in with passkeys only

10k 364 today Thriving BSD-2-Clause

Authentik

Identity and access management

Self-hosted identity provider with SSO over SAML, OIDC, LDAP and RADIUS

26k 2.1k today Thriving MIT

Replaces KeycloakOkta

keto

Identity and access management

5.4k 396 4 months ago Dormant Apache-2.0