Lightweight, unofficial Bitwarden-compatible password vault written in Rust
Open source alternative to Auth0 / Firebase Auth / AWS Cognito
Recommended VPS & Hardware Sizing
Estimated Hosting: $4 - $6/mo (e.g. Hetzner CX22 or DigitalOcean)SuperTokens vs Auth0 / Okta Comparison Matrix
| Evaluation Criteria | SuperTokens (Open Source) | Auth0 / Okta (Proprietary) |
|---|---|---|
| Session Architecture | Opaque token + anti-CSRF rotating tokens | Standard JWT with refresh tokens |
| User Data Ownership | 100% in your own PostgreSQL / MySQL | Stored in Auth0 cloud databases |
| Pricing Escalation | Free self-hosted core | $23+/month starting at 1,000 active users |
Financial Impact: Migrating from Auth0 / Okta to Self-Hosted SuperTokens
* Excludes enterprise SSO add-ons & usage overages
* Commodity Hetzner / DigitalOcean compute instance
Compare SuperTokens Head-to-Head
Comprehensive benchmark comparing SuperTokens against proprietary Auth0 / Okta licensing and features.
RedHat Enterprise IAM vs Modern Python/Go Identity Provider
Bitwarden-Compatible Lightweight Rust Server vs 1Password SaaS
Developer-First Secret Management & Sync vs Complex Enterprise HSM Vault
Self-Hosted Control Server vs Tailscale Cloud Coordination Service
Lightweight Headscale Coordination vs Full-Featured Zero-Trust Network
Core Capabilities & Features
Self-Host SuperTokens with Docker Compose
Tweak configuration ports, secrets, and volumes live. Download or copy your ready-to-run container file:
1-Click Docker Compose Generator
Generate production-ready container definitions with customizable ports and volumes.
Open source alternative to Auth0 and AWS Cognito
version: "3.8"
services:
supertokens:
image: registry.supertokens.io/supertokens/supertokens-postgresql:latest
ports:
- "${PORT:-3567}:3567"
environment:
POSTGRESQL_CONNECTION_URI: "postgresql://postgres:${DB_PWD:-postgres}@db:5432/supertokens"
depends_on:
- db
db:
image: postgres:15-alpine
environment:
POSTGRES_PASSWORD: ${DB_PWD:-postgres}
POSTGRES_DB: supertokensFrequently Asked Questions: Self-Hosting SuperTokens
How do I self-host SuperTokens using Docker Compose?
You can deploy SuperTokens (supertokens/supertokens-core) on any Linux server by copying the docker-compose.yml template on this page, configuring your desired host port and persistent volume directory, and running 'docker compose up -d'.
How does SuperTokens compare to Auth0 / Okta?
SuperTokens is an open-source, self-hosted alternative to Auth0 / Okta built with Java, TypeScript, React. Unlike Auth0 / Okta ($35 - $240+ / month (Penalties on MAU)), SuperTokens has zero per-user licensing fees and keeps 100% of your data on your own infrastructure.
What are the minimum VPS RAM and CPU requirements for SuperTokens?
For production self-hosting (Easy difficulty tier), we recommend at least 2 GB RAM (minimum 1 GB), 1 vCPU, and 10 GB SSD storage, which typically costs $4 - $6/mo (e.g. Hetzner CX22 or DigitalOcean).
Is SuperTokens free for commercial business use under the Apache-2.0 license?
Yes. Distributed under the Apache-2.0 license, SuperTokens can be self-hosted internally by businesses and engineering teams of any size without per-seat royalties.
Embed Official SuperTokens Badge in GitHub README
Served locally from OSSMatrix with Cloudflare global edge caching. Real-time verified alternative status, zero third-party dependencies, sub-5ms load time.
[](https://ossmatrix.com/project/supertokens)<a href="https://ossmatrix.com/project/supertokens" target="_blank" rel="noopener noreferrer"><img src="https://ossmatrix.com/api/badge/supertokens" alt="SuperTokens on OSSMatrix" /></a>Compare SuperTokens with Other Self-Hosted Alternatives
An open source, self-hosted implementation of the Tailscale control server
Open-source Identity and Access Management for modern applications
Zero-trust WireGuard overlay network with SSO and MFA access control
Open-source secret management platform for teams
Open-source Identity Provider focused on flexibility and enterprise versatile authentication flows