teamhanko/hanko

Gohanko.io
macOSWindowsLinux

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

passkeyswebauthnfido2authenticationpasswordlessjwtoauthssouser-managementsamlciam2fa
Sterne-Wachstum
Sterne
9k
Forks
1k
Wochenwachstum
+2
Issues
37
5k
März 2022Sept. 2023März 2025Sept. 2026
ArtefakteGo Modules
README


Test Status Build Status Go Report Card GoDoc npm (scoped) npm (scoped)

About Hanko

Hanko is an open source authentication and user management solution that is easy to integrate, framework-agnostic, and built on privacy-first principles like data minimalism and phishing resistance.

  • Supports all modern authentication methods: passwords, MFA, passkeys, social logins, and SAML SSO
  • Flexible configuration options, including passkey-only, OAuth-only, and user-deletable passwords
  • Easy integration with Hanko Elements web components
  • A robust API that handles all authentication and onboarding flow states, enabling fast, reliable custom frontend implementations
  • API-first, lightweight, cloud-native

Available for self-hosting and as a fully managed service on Hanko Cloud.

Features

To follow the development of this project, watch our releases, leave a star, sign up to our Product News or join our Discord Community. Here's a brief overview of Hanko's current and upcoming features:

Status Feature
Email / username identifiers
Passwords, passcodes, passkeys
Hanko Elements web components
OAuth SSO (Sign in with Apple/Google/GitHub and more)
i18n & custom translations
SAML Enterprise SSO
Webhooks
Server-side sessions & remote session revocation
MFA (TOTP, security keys)
Custom OIDC/OAuth connections
JS SDK
⚙️ Organizations, Roles, Permissions
<hanko-menu> web component
iOS, Android, React Native, Flutter SDKs

Visit our Roadmap for more information on upcoming features.

Contact us

Schedule a demo with the team. Learn how you can built state-of-the-art authentication for your apps effortlessly with Hanko.

Book us with Cal.com

Architecture

The main building blocks of the Hanko project are

  • backend - Scalable, robust, and lightweight authentication API for passwords, passkeys, email passcodes, OAuth SSO, user and session management, and JWT issuing
  • hanko-elements - Web components made for the Hanko API that provide onboarding, login, and user profile functionality and are customizable with CSS
  • hanko-frontend-sdk - A client package for using the Hanko API

The remainder of the repository consists of:

Getting started

  1. Try our hosted live example and our companion page passkeys.io or use the quickstart app to get a feel for the user experience provided by an application that leverages the Hanko backend API and our custom web component
  2. To run the project locally, there are two options available:
    • Bare metal:
      • Head over to the backend section to learn how to get it up and running for your own project. Use Hanko Cloud for a hosted backend.
    • Docker:
      • If you prefer to use Docker to run the project locally, please visit the Run the quickstart for information on how to run the project. This will create everything, including frontend and backend components.
        • If you wish to keep only the backend components, you can modify the quickstart.yaml to remove the unnecessary services. To make changes to the configuration to meet your needs, modify config.yaml.
  3. Then, integrate hanko-elements – we provide example applications and guides for your favourite frontend framework in the official documentation

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.

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. Non-Copyleft commercial licensing is available on request.

Ähnliche Repositories
authelia/authelia

The Single Sign-On Multi-Factor portal for web apps. OpenID Certified™ and Post-Quantum Cryptography Ready.

GoGo ModulesApache License 2.0totpldap
authelia.com
28.8k1.5k
zitadel/zitadel

ZITADEL - Identity infrastructure, simplified for you.

GoGo ModulesGNU Affero General Public License v3.0samlauthentication
zitadel.com
15k1.3k
pennersr/django-allauth

Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication. 🔁 Mirror of https://codeberg.org/allauth/django-allauth/

PythonPyPIMIT Licenseauthenticationdjango
allauth.org
10.4k3.1k
pocket-id/pocket-id

The most user-friendly OpenID Connect Certified™ and OAuth 2.0 provider that lets users sign in to your applications with passkeys.

GoGo ModulesBSD 2-Clause "Simplified" Licenseidpoidc
pocket-id.org
9.1k313
Kunzisoft/KeePassDX

Lightweight vault and password manager for Android, KeePassDX allows editing encrypted data in a single file in KeePass format and fill in the forms in a secure way.

KotlinappGNU General Public License v3.0keepassandroid
keepassdx.com
7.3k403
hexclave/hexclave

The user infrastructure platform. You choose the frontend, backend, and database. Hexclave handles everything else.

TypeScriptnpmOtherauthenticationnextjs
hexclave.com
6.9k521
synctv-org/synctv

Synchronized viewing, theater, live streaming, video

Rustcrates.ioappMIT Licenseaxummedia
docs.syncs.tv
2.5k243
MasterKale/SimpleWebAuthn

WebAuthn, Simplified. A collection of TypeScript-first libraries for simpler WebAuthn integration. Supports modern browsers, Node, Deno, and more.

TypeScriptnpmlibraryMIT Licensewebauthntypescript
simplewebauthn.dev
2.3k201
kdeldycke/awesome-iam

👤 Identity and Access Management knowledge for cloud platforms

awesomeCreative Commons Zero v1.0 Universaliamsecret-management
2.3k190
authgear/authgear-server

Open source Auth0/Clerk/Firebase alternative. Passkeys, SSO, MFA, passwordless, biometric login. Self-hosted or cloud. Enterprise-ready for SaaS & mobile apps

GoGo ModulesApache License 2.02faauth0
authgear.com
2k126
yackermann/awesome-webauthn

🔐 A curated list of awesome WebAuthn and Passkey resources

awesomeCreative Commons Zero v1.0 Universalawesome-listawesome
bit.ly/AwesomeWebAuthn
1.8k152
privacyidea/privacyidea

:closed_lock_with_key: multi factor authentication system (2FA, MFA, OTP, FIDO Server)

PythonPyPIGNU Affero General Public License v3.0pythontwo-factor
privacyidea.org
1.8k360