Security and privacy · Independent · 19 Oct 2026

supertokens/supertokens-core

Open source alternative to Auth0 / Firebase Auth / AWS Cognito

← Security and privacy
SuperTokens: open-source auth. Self-hosted login and session management service.

In simple English

When you build an app, your users need a way to log in and stay logged in. Building this from scratch takes weeks and creates big security risks. Existing cloud services charge you money once your user base starts to grow. This project is a self-hosted login system that you run on your own server. It handles passwords, social logins, and active sessions completely for free.

What it is

SuperTokens Core is an open-source HTTP service that handles authentication and session logic for applications. It works alongside frontend and backend software development kits (software tools that help programmers build for a specific platform) to manage user accounts.

What it is good for

Solo builders who want to stop paying for cloud login providers like Auth0 or AWS Cognito as their user numbers grow. It removes the need to write custom security code for cookies, password resets, and token refreshes.

Stars15k
LicenceCustom
Latestv12.3.1 (2026-10-16)checked 19 Oct 2026
Last code change2026-10-19
Written inJava
Setup effort
3 / 5
Payoff
4 / 5
Good
  • No user limits or per-user pricing, so your bills do not spike when you grow.
  • You keep 100% of your user data in your own database, avoiding vendor lock-in.
  • Supports email and password login, passwordless links, social logins, and multi-factor authentication out of the box.
Watch for
  • Requires running a persistent Java-based HTTP service alongside your own web application server.
  • Setup difficulty is medium to high, as you need to configure both the core service and the matching software development kit in your app code.
  • Custom licence terms apply to parts of the repository, so check the details if you plan to resell it.
Replaces

Auth0 or AWS Cognito

Works well with

PostgreSQL

Similar repositories
  • authelia/authelia29k stars

    Protects your applications with single sign-on, but acts more like a gateway proxy rather than an app login library.

  • zitadel/zitadel15k stars

    Provides user management and identity services in Go, designed for larger enterprise deployments.

  • ory/kratos14k stars

    Offers identity management and user login workflows, but has a steeper configuration curve.

Also reviewed on Repo Radar
  • future-architect/vuls12k stars

    Scans Linux machines over SSH for installed software with publicly reported security holes.

  • cossacklabs/acra1.5k stars

    A proxy that encrypts individual database fields on the way in and decrypts them on the way out.

  • 0xERR0R/blocky7.0k stars

    A small DNS service for a home or office network that refuses to look up advertising and tracking addresses.

Install
docker run -p 3567:3567 -d --name supertokens supertokens/supertokens-postgresql

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: Infrastructure & Security › Authentication & Identity › Authentication Services.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.