Skip to content
FossShelf
Home / Categories / For Security Teams

SuperTokens

SuperTokens is an authentication tool for email-password login, passwordless auth, social login, OAuth-style flows, and session management. It replaces Auth0, Firebase Auth, and AWS Cognito for teams

Replaces —

15.34K starsApache-2.0last commit 6 Nov 2026
Screenshot of SuperTokens

Who it's for

SaaS teams replacing hosted customer auth

SuperTokens fits applications that need login, sessions, passwordless auth, and social providers without giving all identity control to Auth0 or Firebase Auth.

Use Auth0 if your team needs a fully managed identity product with broad enterprise connectors and no auth operations responsibility.

Developers avoiding custom session code

SuperTokens helps developers avoid hand-rolled session management while keeping more deployment control than a closed auth provider.

Skip it if your application only needs a simple auth layer already covered by your framework or hosted backend.

The problem

Authentication is easy to outsource at first and hard to unwind later. Once login, sessions, password resets, social providers, and user identity data live inside a vendor, pricing changes and product limits affect every application using that identity layer.\u000A\u000ABuilding auth from scratch is risky because session security, token rotation, account takeover prevention, and provider integrations all need careful handling. Teams need a middle path: source-accessible auth infrastructure with enough prebuilt flows to avoid reinventing core security logic.

How it works

Prebuilt authentication recipes

SuperTokens provides login patterns such as email-password, passwordless, social login, and session management. Recipes reduce the amount of security-sensitive auth code teams write themselves.

Self-hostable core service

The SuperTokens core can run under your control, which keeps user identity data closer to your infrastructure than hosted-only identity providers.

Frontend and backend SDKs

SDKs help connect application frontends and APIs to SuperTokens flows. That reduces the integration work compared with building every auth endpoint and session path manually.

Features

  • Prebuilt authentication recipes
  • Self-hostable core service
  • Frontend and backend SDKs

Recommended for this setup

Strengths

  • More control than hosted-only auth: SuperTokens gives teams a path to own more of the auth stack while still using tested login and session patterns. This is useful when Auth0 or Cognito feel too closed.
  • Focused on application auth: The project targets developer authentication needs directly: login flows, sessions, and user management for apps. It is lighter than adopting a full enterprise IAM system when customer auth is the main concern.

Trade-offs

  • Not a full workforce IAM suite: SuperTokens focuses on application authentication. Teams needing deep enterprise workforce identity, device management, and complex directory governance should compare it with Keycloak, ZITADEL, or Okta.
  • Open-core license split: SuperTokens core content outside ee/ and listed exceptions is Apache-2.0, while enterprise code under ee/ uses separate terms. Teams should confirm which features they need before assuming every capability is in the Apache-2.0 core.

Tech stack

Languages
Java, TypeScript, JavaScript, Shell, CSS, Dockerfile, HTML, Batchfile
Frameworks
React
Databases
MySQL, PostgreSQL
Tooling
—

FAQ

What is SuperTokens used for?

SuperTokens is used to add authentication and session management to applications. It supports common flows such as email-password login, passwordless auth, social login, and user sessions.

Is SuperTokens an Auth0 alternative?

Yes. SuperTokens can replace Auth0 for many application-auth use cases where teams want more control over auth infrastructure and user data. Auth0 remains stronger for managed enterprise identity features.

Is SuperTokens open source?

SuperTokens core is mostly Apache-2.0 outside the ee/ directory and third-party exceptions. Enterprise code under ee/ has separate terms, so teams should review feature boundaries before adoption.

Similar tools

More in Security Teams