SuperTokens
Open-source authentication and session management provider with self-hosted control.
Why consider SuperTokens?
SuperTokens is an open-core authentication engine that provides modular login recipes and session tokens. It is built for engineering teams needing self-hosted data control and flexible auth architecture.
Learn SuperTokens by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide3 sections
Overview and Architecture
SuperTokens provides an open source user authentication architecture designed for developers to build fast while retaining full data ownership (https://supertokens.com).
SuperTokens architecture consists of three building blocks: a Frontend SDK for session management and UI, a Backend SDK providing auth APIs, and the SuperTokens Core HTTP service handling core authentication logic and database operations. This separation ensures that frontend clients interact with application backend endpoints, while the backend orchestrates calls to the core service.
SuperTokens is an open-core alternative to proprietary login providers like Auth0 or AWS Cognito that allows on-premises deployment to maintain full control of user data.
Supported Authentication Features
Supported authentication features include passwordless login, social login, email password authentication, session management, multi-factor authentication, and multi-tenancy enterprise SSO.
Configuration
The SuperTokens core service configuration establishes default network listening on port 3567 with access token validity configured in seconds:
core_config_version: 0SuperTokens core source code is distributed under the Apache License Version 2.0. This permissive licensing model allows teams to inspect, modify, and integrate core capabilities without proprietary restrictions.
Related tools
More options with a similar category or technology profile.
diskus
Minimal, fast alternative to du -sh written in Rust using multi-threaded directory traversal.
peco
Simplistic interactive filtering tool for Unix pipelines, process lists, and file trees.
Dapr CLI
Command-line tool for managing Dapr distributed application runtime environments and sidecars.
Freeze
Generate beautiful image screenshots and SVGs of code snippets and terminal outputs.