The authentication solution for the passkey era.
About Hanko
Hanko is an open-source authentication and user management solution with a focus on moving the login beyond passwords while being 100% deployable today.
Available for self-hosting and on Hanko Cloud.
Hanko is built and maintained by Hanko.io, an active member of the FIDO Alliance. This project is the sum of 5 years of experience implementing FIDO and WebAuthn-based authentication in different applications and platforms.
We take you on the journey beyond passwords ...
... and make sure your users won't get lost on the way. Passwordless logins have been promised to us for quite some time. But until now, "passwordless" was mostly a compromise that only worked for some of the users and had some severe drawbacks that ultimately led to passwords still being present at almost every login. It's only very recently that passkeys were announced, and the ecosystem of devices, browsers, and operating systems is finally ready to truly move beyond passwords.
With most devices and browsers now shipping with passkey support and convenient built-in authentication technology like Touch ID, Face ID, and Windows Hello, a much better login experience is enabled that will replace passwords for good. Hanko is built for that shift.
Build your passkey-powered auth stack with a few lines of code – and never look back.
Architecture
The main building blocks of the Hanko project are
The remainder of the repository consists of:
Getting started
If you want to use the Hanko backend API but prefer to build your own UI, you can still make use of the hanko-frontend-sdk. It forms the basis of our web components, and the client it provides handles communication with the Hanko backend API and saves you the time of rolling your own.
Contact us
Schedule a Hanko demo. Learn how Hanko will speed up your registration and login flows with passkeys.
Roadmap
We are currently in Beta and may introduce breaking changes. Watch our releases, leave a star, join our Discord community, or sign up to our product news to follow the development. Here's a brief overview of our roadmap:
Status Feature
✅ Passkeys
✅ Email passcodes
✅ Passwords
✅ JWT signing
✅ User management API
✅ 📢 Hanko Alpha Release
✅
<hanko-auth>
web component
✅ Customizable CSS
✅ 📢 Hanko Beta Release
✅ JavaScript frontend SDK
✅ Passkey autofill (Conditional UI)
✅ Audit logs API
✅ Security Key support
✅ Mobile app support
✅
<hanko-profile>
web component
✅ Rate limiting
✅ OAuth logins (Sign in with Apple/Google/GitHub)
✅ i18n & custom translations
✅ User import
✅ Disable sign-ups
✅ User export
✅ Enterprise SSO (SAML)
⚙️ API-supported auth flows
⚙️ Passkey-only and OAuth-only configurations
⚙️ Username support (non-email)
2FA for securing passcodes & passwords
Email templating & i18n
Webhooks
Refresh tokens / sessions
<hanko-menu>
avatar / menu web component
📢 Hanko 1.0 Release
Mobile SDKs
Sign in with Microsoft
OIDC support
Additional features that have been requested or that we would like to build but are currently not on the roadmap:
Community Questions, bugs, ideas
If you have any questions or issues, please check this project's Q&A section in discussions and the open issues. Feel free to comment on existing issues or create a new issue if you encounter any bugs or have a feature request. For yet unanswered questions, feedback, or new ideas, please open a new discussion.
Discord community & X
We invite you to join our growing Discord community if you want to get the latest updates on passkeys, WebAuthn, and this project or if you just want to chat with us. You can also follow us on X.
Licenses
hanko-elements and hanko-frontend-sdk are licensed under the MIT License. Everything else in this repository, including hanko backend, is licensed under the AGPL-3.0.
Twice a month we will interview people behind open source businesses. We will talk about how they are building a business on top of open source projects.
We'll never share your email with anyone else.