
SuperTokens
Open-source authentication solution, an alternative to Auth0 and Firebase Auth that you can self-host.
Open source alternative to:
SuperTokens is a comprehensive open-source authentication platform that lets you add secure login, session management, and user management to your application without the per-MAU pricing of Auth0 or Firebase Auth. It can be fully self-hosted or used via their managed cloud service.
SuperTokens supports email/password, passwordless (magic links and OTP), social OAuth (Google, GitHub, Apple, etc.), multi-factor authentication, and roles/permissions. It provides pre-built UI components and backend SDKs for Node.js, Python, Go, and more, with front-end support for React, Next.js, and Vanilla JS.
As a self-hosted solution, SuperTokens stores all user data in your own database (MySQL or PostgreSQL), giving you full data sovereignty. The open-source core is available under a permissive license for self-hosting, making it a popular choice for startups and enterprises looking to reduce authentication infrastructure costs.
Categories:
Build with:
OpenAltFinder Score
Project Details
Repository details
Updated 11/24/2026, 4:01:07 PM
View RepositoryRepository activity
Get the latest open source alternatives delivered weekly.
Discover tools that give you freedom from proprietary software.
Compare SuperTokens with
Similar open source alternatives

Authentik
Open source identity provider and SSO solution that replaces Auth0 and Okta with a self-hostable, flexible authentication platform.
Auth0
Stack Auth
Open-source authentication platform for Next.js and React, built as an alternative to Auth0 and Clerk.
Auth0
Keycloak
Open-source identity and access management with SSO, OAuth2, OIDC, and SAML support for modern applications.
Auth0
Tinyauth
The tiniest OpenID Certified self-hosted authentication and authorization server, with OAuth, OIDC, LDAP, 2FA, and Traefik/Nginx/Caddy middleware support.
Auth0