
Hanko
teamhanko · Login services for your app
What is Hanko?
Hanko adds sign-in and user management to your app through a backend API and ready-made web components. It presents itself as an open-source alternative to Auth0, Clerk and similar services, and it is built around passkeys and collecting as little data as possible. The backend is AGPL-3.0 and the frontend components are MIT.
Hanko is an open-source authentication and user management solution that works with any framework. It supports passwords, passcodes, passkeys, social logins, multi-factor sign-in and SAML SSO, and comes with web components for the login screens. You can self-host it or use Hanko Cloud.
Core capabilities
- Passwords, passcodes, passkeys, social login, MFA and SAML SSO.
- Hanko Elements web components for ready-made login and profile screens.
- An API-first backend you can self-host or use as Hanko Cloud.
Sign-in methods
Hanko supports email and username identifiers, passwords, passcodes and passkeys, sign-in with Apple, Google, GitHub and others, multi-factor sign-in, and SAML enterprise SSO. It can be set up as passkey-only or OAuth-only. Organizations, roles and permissions are listed as in progress.
- Passkeys
- MFA
- SAML
Elements and the API
The hanko-elements web components provide onboarding, login and profile screens that can be styled with CSS. The backend is a lightweight API that handles sign-in, users, sessions and JWT issuing. A frontend SDK is there if you would rather build your own screens.
- Web components
- API
- SDK
Licence and Hanko Cloud
hanko-elements and the frontend SDK are MIT, and everything else in the repository, including the backend, is AGPL-3.0, with commercial licensing on request. Hanko Cloud is free for up to 10,000 monthly active users, and the Pro plan starts at $29 a month.
- AGPL-3.0
- MIT
- Hanko Cloud
Where it fits
Use cases
- 01
Add passkey sign-in
Offer passkeys alongside passwords and email passcodes, or set Hanko up as passkey-only.
- 02
Drop in ready-made login screens
Use the Hanko Elements web components for onboarding, login and profile screens, or build your own frontend on the API and SDK.
- 03
Move off Auth0
Hanko presents itself as an open-source alternative to Auth0, and you can run the backend on your own servers.