7,363 open-source and SaaS tools, with GitHub stats refreshed every day.

SuperTokens

Open source

An open-source authentication provider offering login, session management, MFA and multi-tenancy through frontend and backend SDKs and a Java core service.

supertokens.com
SuperTokens homepage screenshot
GitHub stars
15k
Last commit
yesterday
Repository age
6 years
Version
v12.2.0
Licence
Custom
Self-hosted
Yes

About SuperTokens

SuperTokens is an open-source authentication provider positioned as an alternative to Auth0, Firebase Auth and AWS Cognito. It adds secure login and session management to your apps, with SDKs for popular languages and frameworks such as Node.js, Go, Python, React and React Native.

Its architecture has three building blocks: a frontend SDK that manages session tokens and renders login UI widgets, a backend SDK that provides the APIs for sign-up, sign-in, sign-out and session refreshing, and the SuperTokens Core, an HTTP service in Java that implements the authentication logic and database operations used by the backend SDK. The feature list spans passwordless and social sign-in, email and phone with password, session handling, MFA, multi-tenant organizations with enterprise SSO, user roles, authentication between microservices, and a dashboard for managing users.

You can self-host the core to keep user data in your own database, or use the vendor's managed offering. The repository's license is listed as 'Other' on GitHub, because enterprise features sit under a separate license, so check which features you need. It suits teams that want to own authentication without building it from scratch.

Key features

  • Email-password, passwordless and social login
  • Session management with token refresh
  • Multi-factor authentication support
  • Multi-tenancy and enterprise SSO
  • User roles and microservice authentication
  • User management dashboard

Good fit for

  • →Replacing Auth0 or Firebase Auth
  • →Adding login to a custom web or mobile app
  • →Multi-tenant B2B authentication
Built with
Java
Tags
authentication
session-management
mfa
sso
auth0-alternative
java
multi-tenancy
self-hosted
identity

SuperTokens: questions and answers

What is SuperTokens used for?
SuperTokens is an open-source authentication provider offering login, session management, MFA and multi-tenancy through frontend and backend SDKs and a Java core service. It is a good fit for replacing Auth0 or Firebase Auth, adding login to a custom web or mobile app and multi-tenant B2B authentication.
Is SuperTokens open source?
Yes. SuperTokens is open source under a custom licence. Its source code is on GitHub at supertokens/supertokens-core and is written mainly in Java.
Is SuperTokens free?
Yes. SuperTokens is open source, so the software itself is free to use under the terms of its own licence. A managed cloud version is also available.
Can I self-host SuperTokens?
Yes. SuperTokens can be self-hosted on your own server or infrastructure.
What is SuperTokens an alternative to?
SuperTokens is an open-source alternative to Auth0, Amazon Cognito, Firebase and Stytch. Other open-source alternatives to Auth0 include Logto, ZITADEL and Authgear.
Is SuperTokens actively maintained?
Yes. The most recent commit to SuperTokens was on 2 October 2026, and the latest release is v12.2.0, published on 4 September 2026. The project has 15k stars on GitHub.

Open-source alternatives to SuperTokens

See all

SaaS alternatives to SuperTokens

See all