qmetrics.net

SuperTokens

Open-source user login and session management

SuperTokens screenshot

SuperTokens adds sign-up, sign-in, and session handling to applications through frontend SDKs, backend SDKs, and a core HTTP auth service.

Overview

SuperTokens is an open-core authentication stack aimed at teams that want login, sign-up, and session management without tying everything to a proprietary identity provider. Client SDKs cover popular languages and front-end frameworks, while a central core service handles auth logic and database operations that backend SDKs call over HTTP.

The design splits work across a frontend SDK for session tokens and login UI, a backend SDK for sign-up, sign-in, sign-out, and session refresh APIs, and SuperTokens Core as the HTTP service for core auth and data access. Supported login recipes include passwordless, social, email-password, and phone-password flows, along with session management, multi-factor authentication, multi-tenancy, user roles, and microservice authentication.

Teams can run an on-premises deployment so user data stays in their own database, or use prebuilt UI and SDK helpers to integrate login on their domain without redirects. A user management dashboard lists sign-ups and lets administrators adjust sessions, metadata, roles, and account information. Plugins extend behavior for tenant discovery, CAPTCHA, and user banning.

SuperTokens can be used for login only, session management only, or both, and the project documents session management integrations with other login providers such as Auth0. Core distribution includes JDK and binary or Docker image options so the Java-based service can run like other HTTP microservices.

Key features

  • Email and phone password login
  • Passwordless and social login
  • Session management and refresh
  • Multi-factor authentication
  • Multi-tenancy and enterprise SSO
  • User roles and microservice auth
  • User management dashboard
  • Modular plugins for CAPTCHA and bans

Use cases

  • Adding login to web and mobile apps
  • Session management without full OAuth complexity
  • On-premises control of auth user data
  • Enterprise multi-tenant authentication
  • Microservice-to-microservice authentication

Open-source alternative to

Amazon Cognito
“Open source alternative to Auth0 / Firebase Auth / AWS Cognito” source
Auth0
“Open source alternative to Auth0 / Firebase Auth / AWS Cognito” source
Firebase Authentication
“Open source alternative to Auth0 / Firebase Auth / AWS Cognito” source

Does the same job as

SuperTokens doesn't name these products itself, but its own description shows it does the same job.

Tags

Compare SuperTokens

Similar software

Sa-Token

Java lightweight permission and session framework

Sa-Token adds login, permission checks, SSO, OAuth2, and microservice gateway auth to Java web projects with minimal boilerplate.

★ 19.1k⟳ 10 days agoApache-2.0

Node Jsonwebtoken

Node.js library for signing and verifying JSON Web Tokens

jsonwebtoken implements JWT creation and verification for Node.js using HMAC, RSA, ECDSA, and related algorithms. It exposes sign, verify, and decode helpers built on node-jws.

★ 18.2k⟳ 5 months agoMIT
Application SecurityDesktop/CLI app

OAuth2 Proxy

OAuth2 and OIDC reverse proxy authentication

OAuth2 Proxy sits before web apps as reverse proxy or middleware, sends users through OAuth2 or OIDC login, supports many identity providers, and can forward user details to upstream apps as headers

★ 15.4k⟳ 19 days agoMIT

Casdoor

Self-hosted identity provider with SSO and agent MCP gateway

Casdoor is an IAM server with a web console for users, apps, and providers. It issues tokens via OAuth, OIDC, SAML, CAS, LDAP, SCIM, and WebAuthn, and exposes an MCP gateway for AI tooling

★ 15k⟳ 2 days agoApache-2.0
Open Source Alternative to:Amazon CognitoAuth0+3

CASL

Isomorphic TypeScript authorization for apps and APIs

CASL limits which resources a user may access using declarative rules shared across frontend, backend, and database layers.

★ 7.1k⟳ 4 days agoMIT
Application SecurityDesktop/CLI app

OpenFGA

Fine-grained authorization engine inspired by Zanzibar

OpenFGA is an authorization and permission engine with HTTP and gRPC APIs, pluggable storage, and a modeling playground for relationship-based access checks.

★ 6.2k⟳ 7 days agoApache-2.0
Open Source Alternative to:PlainID