supertokens-core
by supertokens
SuperTokens is an open-source, self-hosted authentication framework providing secure login, session management, and user identity features as an alternative to Auth0 and similar services.
Open source alternative to Auth0 / Firebase Auth / AWS Cognito
Primary Use Case
SuperTokens is designed for developers and organizations seeking a customizable, secure, and privacy-focused authentication system that can be self-hosted to retain full control over user data. It simplifies adding authentication, session management, and multi-factor authentication to web and mobile applications without the complexity of OAuth protocols.
- Passwordless Login
- Social Login
- Email Password Login
- Phone Password Login
- Session Management
- Multi-Factor Authentication
- Multi Tenancy / Organization Support (Enterprise SSO)
- User Roles
Installation
- Refer to the documentation at https://supertokens.com/docs/guides for SDK installation for your preferred language or framework.
- Deploy SuperTokens Core as an HTTP service to handle core authentication logic and database operations.
- Integrate Backend SDK to provide APIs for sign-up, sign-in, sign-out, and session refresh.
- Use Frontend SDK to manage session tokens and render login UI widgets.
- Optionally, use Docker images available for easy deployment (e.g., docker pull supertokens/supertokens-postgresql).
- Configure your database to store user and session data as required.
Usage
>_ docker pull supertokens/supertokens-postgresqlPulls the official SuperTokens Docker image with PostgreSQL support for easy deployment.
>_ Use Frontend SDK methods to render login UI and manage session tokensManages user sessions and login UI on the client side.
>_ Use Backend SDK APIs for sign-up, sign-in, sign-out, and session refreshHandles authentication workflows and session management on the server side.
- Integrate SuperTokens with existing SIEM tools to enhance detection of anomalous authentication attempts.
- Leverage the multi-tenancy and user roles features to simulate insider threat scenarios during purple team exercises.
- Use the passwordless and multi-factor authentication capabilities to reduce attack surface against credential theft.
- Deploy SuperTokens in microservice environments to centralize authentication and improve security posture.
- Customize session management policies to enforce strict session expiration and reduce risk of session hijacking.
Docs Take 2 Hours. AI Takes 10 Seconds.
Ask anything about supertokens-core. Installation? Config? Troubleshooting? Get answers trained on real docs and GitHub issues—not generic ChatGPT fluff.
3 free chats per tool • Instant responses • No credit card
Related Tools

vaultwarden
dani-garcia/vaultwarden
Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs
authelia
authelia/authelia
The Single Sign-On Multi-Factor portal for web apps, now OpenID Certified™
keepassxc
keepassxreboot/keepassxc
KeePassXC is a cross-platform community-driven port of the Windows application “KeePass Password Safe”.
infisical
Infisical/infisical
Infisical is the open-source platform for secrets, certificates, and privileged access management.
authentik
goauthentik/authentik
The authentication glue you need.
teleport
gravitational/teleport
The easiest, and most secure way to access and protect all of your infrastructure.
