talira

SuperTokens

Open source alternative to Auth0, Firebase Auth and AWS Cognito

open coreApache-2.0self-hostablefree

SuperTokens is an auth solution with a core service (Java, Apache-2.0 outside ee/), backend SDKs that run inside your API, and prebuilt or custom frontend UI. It covers email/password, passwordless, social login, sessions with rotating refresh tokens and multi-tenancy. Self-hosting the open source features is free; paid features (MFA, account linking) are billed per MAU.

Problems it solves

  • Firebase Auth locks us in and we want our user table in our own database
  • auth that runs inside my Node or Python backend instead of redirecting to another domain
  • secure session handling with refresh token rotation done for me
  • Cognito is painful to customize
  • self-host auth for free with no MAU limit
  • magic link and OTP login for a consumer app
  • keep users' data in our own Postgres
  • add multi-tenant login where each customer has its own sign-in methods

Features

  • email/password
  • passwordless
  • social login
  • session management
  • multi-tenancy
  • MFA (paid)
  • account linking (paid)
  • user management dashboard

Ways to run it

SuperTokens managed service

Hosted by SuperTokens

free under 5,000 MAU, then $0.02/MAU; MFA $0.01/MAU (minimum $100/month); account linking $0.005/MAU; 3 dashboard users free, then $20/user/month

Only in this edition

  • the SuperTokens core hosted for you

Pricing

SuperTokens self-hosted

You run it, Apache-2.0

free with no MAU limit; paid features (MFA, account linking, multi-tenancy) need a licence key at the listed per-MAU prices

Not included

  • paid features without a licence key: the ee/ directory is under SuperTokens' enterprise licence

You arrange

  • PostgreSQL (MySQL and MongoDB support was dropped in core 11.0)
  • Docker or a VM for the core
  • email and SMS delivery from your own backend
  • TLS at a proxy and private networking for the core and database
  • upgrades and schema migrations

Self-hosting docs

Capabilities

Has an APIplan not known
Has official SDKsplan not known

Alternatives

The same job

These do what SuperTokens does.

  1. Ory Headless, cloud-native identity: authentication, OAuth2/OIDC and permissions
  2. Supabase The Postgres development platform
  3. Auth0 Hosted authentication and authorization for apps (an Okta product)
  4. Clerk Drop-in authentication and user management with prebuilt UI components
  5. WorkOS APIs to make your app enterprise-ready: SSO, directory sync, audit logs and AuthKit
  6. Keycloak Open source identity and access management for modern applications and services

Compare SuperTokens with the top 3