
Hanko
Hanko is an authentication platform focused on passkeys, identity, and modern login flows. It replaces building WebAuthn, user management, and session flows from scratch when teams want open source au
Replaces —

Who it's for
Use Hanko when passkeys are a central login requirement and the team wants open source auth infrastructure.
Skip if a basic managed email-password login from an existing platform is enough.
It fits teams that want identity portability and more control than a closed vendor provides.
Skip if your organization needs enterprise SSO catalog coverage before passkey UX.
The problem
Authentication is easy to underestimate until passkeys, sessions, account recovery, user management, and security edge cases all collide. Teams that build login from scratch risk security mistakes, while closed auth vendors can make identity data, pricing, and migration paths hard to control.
How it works
Hanko focuses on modern passwordless login patterns, including passkeys and WebAuthn-based authentication flows.
Provides building blocks for adding authentication to applications without designing every user-management screen from zero.
The repository gives teams source access for the authentication layer rather than requiring a proprietary hosted identity service.
Features
- Passkey-oriented authentication
- Auth service and UI components
- Open deployment path
Recommended for this setup
Strengths
- Modern login focus: Hanko is a better fit than legacy auth libraries when passkeys and passwordless UX are core requirements.
- Control over identity infrastructure: Teams can inspect and operate the auth layer instead of treating user identity as an opaque SaaS dependency.
Trade-offs
- Auth still needs security ownership: Running auth yourself means taking responsibility for updates, configuration, email flows, session settings, and incident response.
Tech stack
FAQ
Hanko is used to add modern authentication, especially passkey and passwordless login flows, to applications.
Hanko is developed in a public repository. Review its current repository license terms before commercial redistribution.
Hanko can replace parts of hosted auth when passkeys and source control matter. Auth0 may still fit teams that need broad enterprise identity integrations and managed operations.