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.
