# teamhanko/hanko

Modern authentication, on your terms. Open source alternative to Auth0, Clerk, WorkOS, Stytch.

Repository: https://github.com/teamhanko/hanko
Canonical: https://ross.abutalabs.com/products/hanko
Homepage: https://www.hanko.io
Language: Go
License: NOASSERTION
License Family: other
Topics: passkeys, webauthn, fido2, authentication, passwordless, jwt, oauth, sso, user-management, saml, ciam, 2fa, mfa, iam
Last push: 2026-08-25T16:50:35+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 83, longevity 100
- inputs: {"age_days": 1633, "days_push": 8, "days_rel": 37, "gap_med": 35.0, "n_releases_24m": 17}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9015, forks 1014 (observed 2026-08-28T04:10:26.776200+00:00)

## What it is
Hanko is an open-source authentication and user management platform built in Go, offering passwords, passkeys (WebAuthn/FIDO2), MFA, OAuth social logins, and SAML SSO through an API-first architecture. It ships with framework-agnostic web components (Hanko Elements) and JS SDKs, and can be self-hosted or used via the managed Hanko Cloud service.

## Use cases
- add passkey login to my web app
- self-hosted alternative to Auth0 or Clerk
- implement passwordless authentication with WebAuthn
- add SAML SSO for enterprise customers
- add multi-factor authentication to my app
- migrate users from Firebase Auth with existing password hashes
- add social login with Google and GitHub
- manage user accounts and sessions for my SaaS

## When to choose
- you want a self-hostable, API-first auth platform with no vendor lock-in
- you need phishing-resistant passkey/WebAuthn support out of the box
- you need passwords, passkeys, MFA, OAuth, and SAML SSO in one solution
- you want drop-in web components that work with React, Next.js, Angular, Vue, or Svelte
- you need to migrate existing users (e.g., from Firebase) including password hashes

## When to avoid
- you only need to add passkeys to an existing auth system (consider Hanko's separate Passkey API instead)
- you need fully featured organizations, roles, and permissions today (still on the roadmap)
- you require a certified compliance-heavy enterprise IAM like Keycloak with extensive protocol plugins
- you need native mobile SDKs for iOS, Android, React Native, or Flutter (not yet released)

## Facets
- artifact type: service
- maturity: active
- function: auth, authorization, api-framework, http-server, middleware, sdk, webhook
- domain: security, web-development, apis, self-hosted, developer-tools
- platform: go, self-hosted, cross-platform, cloud
- tags: passkeys, webauthn, fido2, passwordless, mfa, sso, saml, oauth, user-management, ciam, jwt, auth0-alternative, web-components, docker, web-server

## Member repositories
- teamhanko/hanko (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:26.776200+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:24:20.748756+00:00, confidence not recorded.
  - readme: https://github.com/teamhanko/hanko (fetched 2026-08-28T04:10:26.776200+00:00, sha 44aeac44ee58)
  - homepage: https://www.hanko.io (fetched 2026-08-29T08:24:25.350640+00:00, sha eee363604336)
  - site_page: https://docs.hanko.io/introduction (fetched 2026-08-29T08:24:25.366780+00:00, sha aafaf8754c62)
  - site_page: https://docs.hanko.io/quickstarts/frontend/angular (fetched 2026-08-29T08:24:25.368922+00:00, sha 1fcd0b6ff6de)
  - site_page: https://docs.hanko.io/quickstarts/fullstack/next (fetched 2026-08-29T08:24:25.371222+00:00, sha 9d2e9f16ea06)
  - site_page: https://docs.hanko.io/quickstarts/fullstack/sveltekit (fetched 2026-08-29T08:24:25.373286+00:00, sha 6d1d0dbb8016)
  - site_page: https://docs.hanko.io/quickstarts/fullstack/remix (fetched 2026-08-29T08:24:25.375347+00:00, sha 4daaa85104d4)
  - site_page: https://docs.hanko.io/quickstarts/frontend/react (fetched 2026-08-29T08:24:25.377380+00:00, sha ce59d5ef1cc6)
  - site_page: https://www.hanko.io/pricing (fetched 2026-08-29T08:24:25.361629+00:00, sha b244e6ba4cde)
  - site_page: https://www.hanko.io/changelog (fetched 2026-08-29T08:24:25.364153+00:00, sha fbe89e4b85b4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
