Security and privacy · Independent · 19 Oct 2026

teamhanko/hanko

Modern authentication, on your terms. Open source alternative to Auth0, Clerk, WorkOS, Stytch.

← Security and privacy

In simple English

When you build an app, your users need a way to log in safely. You can write your own login pages or pay a company to do it for you. This tool gives you a ready-made login system that you can run on your own server. It supports modern methods like passkeys alongside traditional passwords and social buttons. You stay in control of your user data without paying monthly fees.

What it is

Hanko is a self-hosted authentication and user management system written in Go (a programming language built for fast network services). It includes ready-to-use login components for web pages and a server backend that handles sessions and tokens.

What it is good for

Solo builders who want a complete sign-in box on their website without paying expensive monthly fees to hosted identity services.

Stars9.0k
LicenceCustom
Latestbackend/v3.1.0 (2026-10-01)checked 19 Oct 2026
Last code change2026-10-19
Written inGo
Setup effort
3 / 5
Payoff
4 / 5
Good
  • Supports modern passkeys and security keys out of the box.
  • Provides ready-to-use web components so you do not have to design login forms.
  • Free to self-host on your own hardware or server.
Watch for
  • Requires Docker (a way to run a program inside its own sealed box, so it cannot break anything else on your server) or a Go environment to run.
  • Uses the AGPL-3.0 licence, which has strict rules if you modify the code and offer it as a service.
  • You must manage your own database backups and server security.
Replaces

Auth0 or writing custom login forms from scratch

Works well with

PostgreSQL for storing user accounts

Similar repositories
  • zitadel/zitadel15k stars

    Zitadel is another self-hosted identity system with more enterprise features, while Hanko focuses on simple web components and passkeys.

  • logto-io/logto15k stars

    Logto is an open-source identity provider offering user management and sign-in boxes, similar to hosted alternatives.

  • ory/kratos14k stars

    Ory Kratos is a headless identity management server that gives you full control over every part of the authentication flow.

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
git clone https://github.com/teamhanko/hanko.git
cd hanko/deploy/docker-compose
docker compose -f quickstart.yaml up -d

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.