Hanko

Open source authentication platform supporting passkeys, 2FA, SSO, and social login.

  • Security
Open source authentication platform supporting passkeys, 2FA, SSO, and social login. Self-host or use Hanko Cloud, with full control over your data and no lock-in.

Platform availability

Available on 4 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac
  • Windows
  • Linux
  • Any server

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

71/100 Good

Maintained
100last commit 1 day ago
Popular
799,086 GitHub stars
Easy to install
554 install platforms, install notes
Light to run
No data
Security check
201 serious finding, 20 minor, CI, tests

Based on 4 of 5 factors.

Availability: platform listings confirmed 3 days ago

GitHub stars
9,086
Open issues
82
Last commit
2026-12-03
Latest release
backend/v3.2.0
License
AGPL-3.0
Activity
declining

Checked today - source: GitHub (teamhanko/hanko)

Resources & Compatibility

Requirements not published yet.

Checked today - source: Docker Hub image tags and published docs

First-install notes

  • Start with the quickstart (Docker makes it easy) Make sure Docker Desktop is running, then run 'docker compose -f deploy/docker-compose/quickstart.yaml -p "hanko-quickstart" up --build'. This spins up everything (the login service and its database) in one go, so you can see it working before wiring it into your own app. source
  • Adding Hanko to your own frontend Once the backend runs, add the login UI to your app by installing the frontend SDK (e.g. 'npm install @teamhanko/hanko-frontend-sdk') and pointing it at your Hanko service. Skip this if you're only trying the included example apps via Docker Compose. source

Fetched today - each note links to its source

Alternatives (3)

  • Auth0 - You can connect any application (written in any language or on any stack) to Auth0 and define its Connection, the method used to authentica…
  • FusionAuth - FusionAuth is a secure tool that manages user logins and registrations for your website or mobile application.
  • Keycloak - Keycloak is an open-source Identity and Access Management platform for adding authentication to self-hosted applications.

Checked today - source: AlternativeTo

Common questions

How do I quickly try Hanko self-hosted with Docker?

Run the quickstart compose file: 'docker compose -f deploy/docker-compose/quickstart.yaml -p "hanko-quickstart" up --build'. It spins up the login service and its database in one go so you can see it working before wiring it into your own app.

How do I add Hanko login to my own frontend after the backend is running?

Install the frontend SDK (e.g. 'npm install @teamhanko/hanko-frontend-sdk') and point it at your Hanko service. Alternatively you can use Hanko Elements web components for a prebuilt, CSS-customizable login UI.

Can I run only the backend without the UI components?

Yes. The Hanko backend is a standalone HTTP API for passkeys (WebAuthn), passwords, passcodes, and JWT management, and can be used on its own or in combination with hanko-elements.

Can I migrate between self-hosting and Hanko Cloud?

Yes. You retain full control over your data and can move seamlessly between self-hosted deployments and Hanko Cloud at any time.

What should I back up when self-hosting Hanko?

Schedule backups of its data volume and database, since self-hosting means you are responsible for recovery too.

Answers sourced from docs.hanko.io, github.com, github.com, github.com, hostedsoftware.org

Community

Collected today - public community threads