Overview
Hanko is an open-source authentication and user-management platform covering passwords, MFA, passkeys, OAuth SSO, SAML SSO, and session management. It combines a Go backend API with Hanko Elements and a frontend SDK for integration, and can be deployed either as a self-hosted stack or through Hanko Cloud.
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Unify passkeys with passwords, MFA, social login, and SAML instead of treating them as separate products
The official README lists passwords, MFA, passkeys, social logins, and SAML SSO, with configuration options such as passkey-only and OAuth-only. Hanko also covers user and session management plus JWT issuing, making it an API-first authentication platform rather than only a passkey widget.
Sources: [1]
Integrate ready-made Web Components or build a custom frontend on the SDK and API
Hanko Elements provides Web Components for login, onboarding, and user-profile flows, while the Hanko Frontend SDK handles communication with the Hanko API. The Elements npm package is MIT licensed, and the project positions the integration layer as framework-agnostic.
Use the Docker Compose quickstart to exercise frontend and backend together
The official quickstart clones the repository and starts deploy/docker-compose/quickstart.yaml with Docker Compose. Once running, the login experience is available at localhost:8888, with MailSlurper at localhost:8080 for testing email flows without your own SMTP server.
Sources: [2]
A strong fit for teams seeking an Auth0 or Clerk alternative with deployment control
Hanko is relevant not only for passkey-first applications, but also for products that need a gradual path from passwords, a shared layer for MFA and OAuth/SAML, or a self-hosted authentication API. Teams wanting the shortest UI integration can start with Hanko Elements, while teams building a custom experience can evaluate the frontend SDK and backend API directly.
The repository is mixed-license: backend and frontend integration packages have different obligations
The root LICENSE states that code outside frontend/elements and frontend/frontend-sdk is under AGPLv3, while those two directories use their own MIT licenses. The README also mentions non-copyleft commercial licensing on request. For self-hosting, modification, or hosted service use, evaluate the license of the specific components you deploy.
The quickstart is useful for evaluation, but it builds several services together. Production deployment should treat it as a reference rather than a ready-made production topology, and separately plan backend configuration, email delivery, OAuth/SAML connections, and session operations.
Official sources
- [1]teamhanko/hanko — README(2026-09-15)
- [2]teamhanko/hanko — Quickstart README(2026-09-15)
- [3]teamhanko/hanko — LICENSE(2026-09-15)
- [4]teamhanko/hanko — hanko-elements package.json(2026-09-15)
Supplemental curator note
We selected Hanko because it treats passkeys as part of a broader authentication platform rather than an isolated feature, allowing teams to evolve from passwords toward stronger authentication and SSO. Before deployment, check the AGPLv3 backend boundary against the MIT-licensed Elements and Frontend SDK.
Try it in 3 steps
- 1
Get the source
git clone https://github.com/teamhanko/hanko.git - 2
Start the quickstart
Run this with Docker Desktop or another Docker environment already started. The services are built locally on first run.
cd hanko && docker compose -f deploy/docker-compose/quickstart.yaml -p "hanko-quickstart" up --build - 3
Open the login page
MailSlurper for testing email flows is available at http://localhost:8080.
http://localhost:8888
Growth
Growth trends · Last 30 days
9,027 Stars
Trend data is still being collected.
Development activity
Last 90 days · weekly
- Commits (last 30 days)
- 32
- Open PRs
- 27
Development activity is still being collected.
Built with
Categories and tags
Categories
GitHub data
GitHub dataView detailed GitHub data
GitHub Topics
- passkeys
- webauthn
- fido2
- authentication
- passwordless
- jwt
- oauth
- sso
- user-management
- saml
- ciam
- 2fa
- Stars
- 9,027
- Forks
- 1,017
- Watchers
- 42
- Open issues
- 37
- Primary language
- Go
- License
- Not determined
- Repository last updated
- Sep 15, 2026
Explore next
- n8n204,350 Stars
A fair-code platform combining a visual canvas and code for service integrations, workflows, and AI agents.
TypeScript - Ollama181,014 Stars
A runtime for downloading and running open models on a computer or server through a CLI and local API.
Go - AUTOMATIC1111 Stable Diffusion WebUI164,915 Stars
A Gradio UI for Stable Diffusion image generation, editing, model selection, extensions, and APIs.
Python - Dify155,790 Stars
A visual LLM application platform combining AI workflows, RAG, agents, model management, and observability.
TypeScript - Open WebUI152,106 Stars
A self-hosted AI workspace for Ollama and OpenAI-compatible model providers.
Python
Report incorrect information
Tell us if any listing information is incorrect or outdated.