
Overview
Hanko is an open-source authentication and user management solution that's framework-agnostic and built on privacy-first principles like data minimalism and phishing resistance. It consists of a lightweight authentication API, drop-in web components called Hanko Elements, and a frontend SDK. You can self-host it or use the managed Hanko Cloud.
What it does well
It supports passwords, MFA, passkeys, email passcodes, social logins and SAML SSO, and you can configure flows like passkey-only, OAuth-only or passwords users can delete. Hanko Elements add login, onboarding and profile screens to any frontend and are styled with CSS. If you want your own UI, the API handles all authentication and onboarding flow states and the frontend SDK talks to it for you. The backend also handles user and session management and issues JWTs.
Why it’s in the collection
Hanko makes passkeys the easy path rather than an add-on, and it drops into any framework with a few web components. The backend is AGPL-licensed and the frontend pieces are MIT.
On GitHub
- Stars
- 9,075
- Forks
- 1,023
- Commits
- 2,867
- Repository
- teamhanko/hanko
Languages
- Go 70.3%
- TypeScript 25.4%
- HTML 1.4%
- CSS 1.2%
- Other 1.7%
Compared with
Auth0Okta's hosted authentication and identity platform.
ClerkCommercial authentication and user management for web apps.
StytchCommercial passwordless authentication platform.
SuperTokensNo. 348Open-source authentication with self-hosting.
See every open-source alternative to Auth0 and Clerk in the collection.



