Open-source authentication and user management built around passkeys, with passwords, email passcodes, TOTP and security-key MFA, social sign-in and SAML enterprise SSO. Authentication runs through a flow API, embedded Hanko Elements web components and a frontend SDK, with session JWTs verified by your backend through a JWKS endpoint. It is not an OpenID Provider: it consumes OIDC and SAML identity providers and issues its own tokens. Webhooks, custom JWT claims, an Admin API, and organizations with roles cover integration. Available as Hanko Cloud (Starter, Pro and Enterprise plans, hosted in Germany) or self-hosted under AGPL-3.0, with the frontend packages under MIT.

Features

If you want to compare IAM features of different providers, please check out the IAM Identity Providers benchmark.

Looking for Hanko’s OpenID Connect protocol compatibility? View Hanko on the OpenID Connect Providers benchmark.

Frequently Asked Questions

Does Hanko support Username and Password authentication method?

Hanko supports Username and Password authentication method. Password sign-in with an optional username next to the email identifier. Disabled by default on self-hosted instances and enabled with password.enabled. Read more

Does Hanko support Social Sign-in authentication method?

Hanko supports Social Sign-in authentication method. Built-in Apple, Discord, Facebook, GitHub, Google, LinkedIn and Microsoft providers, plus custom OAuth 2.0 and OIDC providers. Read more

Does Hanko support Passkey authentication method?

Hanko supports Passkey authentication method. Passkeys are the default method, backed by a FIDO2 / WebAuthn server. The number of passkeys per user is configurable (10 by default). Read more

Does Hanko support Email Passwordless authentication method?

Hanko supports Email Passwordless authentication method. Email passcodes (one-time codes) for sign-in, email verification and password recovery. Passcodes expire after 300 seconds by default. Read more

Does Hanko support Phone Passwordless authentication method?

Hanko does not support Phone Passwordless authentication method. No SMS delivery. Email and username are the only login identifiers.

Does Hanko support Time-based One-Time Password (TOTP) MFA?

Hanko supports Time-based One-Time Password (TOTP) MFA. TOTP authenticator apps as a second factor. Read more

Does Hanko support WebAuthn MFA?

Hanko supports WebAuthn MFA. Security keys as a second factor, with a configurable attestation preference and limit per user. Read more

Does Hanko support Phone Code MFA?

Hanko does not support Phone Code MFA. No SMS delivery.

Does Hanko support Recovery Code MFA?

Hanko does not support Recovery Code MFA. The MFA flows only offer TOTP and security keys. There is no recovery code step.

Does Hanko support OpenID Connect (OIDC) integration protocol?

Hanko does not support OpenID Connect (OIDC) integration protocol. Hanko is not an OpenID Provider. It issues its own RS256 session JWTs and exposes a JWKS endpoint, but has no authorization, token or discovery endpoint. Read more

Does Hanko support SAML 2.0 integration protocol?

Hanko partially supports SAML 2.0 integration protocol. Service provider only. Hanko signs users in through external SAML 2.0 identity providers and cannot act as a SAML identity provider. Read more

Does Hanko support Machine-to-Machine (M2M) Authentication integration protocol?

Hanko does not support Machine-to-Machine (M2M) Authentication integration protocol. No OAuth 2.0 client credentials grant. Backends call the Admin API with an API key. Read more

Does Hanko support OpenID Connect (OIDC) Federation identity federation?

Hanko supports OpenID Connect (OIDC) Federation identity federation. Custom OIDC providers with OIDC Discovery or manually configured endpoints, next to the built-in social providers. Read more

Does Hanko support SAML 2.0 Federation identity federation?

Hanko supports SAML 2.0 Federation identity federation. SAML 2.0 enterprise SSO with domain-based routing, tested with Okta, Auth0, Microsoft Entra ID and Google Workspace. On Hanko Cloud, attribute mapping, Single Logout and metadata file upload are not available, only a metadata URL. Read more

Does Hanko support Azure Active Directory (Entra ID) identity federation?

Hanko supports Azure Active Directory (Entra ID) identity federation. Sign in with Microsoft, and a guide for SAML SSO with Microsoft Entra ID. Read more

Does Hanko support Bulk User Import user management?

Hanko supports Bulk User Import user management. The hanko user import command loads a JSON file in a single transaction. Read more

Does Hanko support Password Hash Import (Multiple Formats) user management?

Hanko partially supports Password Hash Import (Multiple Formats) user management. The import file accepts a password credential per user. The supported hash formats are not documented. Read more

Does Hanko support Bulk User Export user management?

Hanko partially supports Bulk User Export user management. Users can be listed through the Admin API, without password hashes or TOTP secrets. A complete export has to be requested from Hanko. Read more

Does Hanko support Upsert on Import user management?

Hanko does not support Upsert on Import user management. The whole import is aborted when a user_id already exists in the target tenant. Read more

Does Hanko support MFA Enrollment Import user management?

Hanko supports MFA Enrollment Import user management. The import file accepts TOTP secrets and WebAuthn credentials, including passkeys and MFA credentials. Read more

Does Hanko support Just-In-Time (JIT) User Provisioning user management?

Hanko supports Just-In-Time (JIT) User Provisioning user management. An account is created on the first SAML or social sign-in unless self-service account creation is disabled. Read more

Does Hanko support Self-Service Profile Management Portal user management?

Hanko supports Self-Service Profile Management Portal user management. The Profile component lets users manage emails, username, password, passkeys, MFA credentials and active sessions. Read more

Does Hanko support User Account Linking user management?

Hanko supports User Account Linking user management. Automatic linking by email address, controlled per provider with allow_linking. Email verification is recommended to avoid account takeover. Read more

Does Hanko support User Metadata user management?

Hanko supports User Metadata user management. Private, public and unsafe metadata. Unsafe metadata is writable by the end user, the other two only through the Admin API. Read more

Does Hanko support Application Metadata user management?

Hanko supports Application Metadata user management. Private metadata is only readable and writable through the Admin API. Public metadata is readable by the client but only writable through the Admin API. Read more

Does Hanko support Metadata Size Limits user management?

Hanko supports Metadata Size Limits user management. Each metadata type is limited to 3,000 characters of compact JSON. Read more

Does Hanko support User Search user management?

Hanko partially supports User Search user management. The Admin API list endpoint filters by user ID and email and sorts by creation date. There is no search on username or metadata. Read more

Does Hanko support Role-Based Access Control (RBAC) user management?

Hanko partially supports Role-Based Access Control (RBAC) user management. Roles are scoped to organizations and managed through the Admin API. A session can check its own roles through the public API. There is no dashboard UI documented for it. Read more

Does Hanko support Organizations (Multi-Tenancy B2B) user management?

Hanko partially supports Organizations (Multi-Tenancy B2B) user management. Organizations, memberships and role bindings through the Admin API, plus a multi-tenancy mode for self-hosted instances. Organization endpoints do not emit audit logs or webhooks yet. Read more

Does Hanko support Password Strength Policies user management?

Hanko partially supports Password Strength Policies user management. Only a minimum length is configurable (password.min_length, 8 by default). Read more

Does Hanko support Username Restrictions user management?

Hanko partially supports Username Restrictions user management. Minimum and maximum length are configurable (3 and 32 by default). Read more

Does Hanko support Fine-Grained Authorization (FGA / ReBAC) access control?

Hanko does not support Fine-Grained Authorization (FGA / ReBAC) access control. Not built in. A guide covers integrating Permit.io. Read more

Does Hanko support API Authorization (Scopes / Permissions) access control?

Hanko partially supports API Authorization (Scopes / Permissions) access control. Backends validate the session JWT or call the session validation endpoint. There are no OAuth scopes, only organization roles and custom claims. Read more

Does Hanko support Audit Log Retention security feature?

Hanko supports Audit Log Retention security feature. API operations are recorded in an audit log that can be stored in the database with a configurable retention (720 hours by default) and listed through the Admin API. The Enterprise plan has extended retention. Read more

Does Hanko support Audit Log Streaming security feature?

Hanko partially supports Audit Log Streaming security feature. Self-hosted instances write audit events to stdout by default, for collection by an external log pipeline. There is no built-in SIEM streaming. Read more

Does Hanko support Brute Force Protection security feature?

Hanko supports Brute Force Protection security feature. Rate limiting on the passcode, password, OTP and token endpoints (3 attempts per minute by default), per user and IP, with an in-memory or Redis store. Read more

Does Hanko support Hosted / Universal Login Page branding feature?

Hanko does not support Hosted / Universal Login Page branding feature. The login UI runs inside your application, through Hanko Elements or a custom client for the Flow API. Hanko does not host a login page. Read more

Does Hanko support Embedded / Native Login Components branding feature?

Hanko supports Embedded / Native Login Components branding feature. Hanko Elements web components and the Frontend SDK, or the Flow API for fully custom UIs. Read more

Does Hanko support White-Label / Full Brand Removal branding feature?

Hanko supports White-Label / Full Brand Removal branding feature. Hanko Elements are MIT-licensed and their appearance is customizable, and the backend can be self-hosted. Read more

Does Hanko support Localization / i18n branding feature?

Hanko supports Localization / i18n branding feature. Built-in translations for Hanko Elements, with support for custom translations. Read more

Does Hanko support Prebuilt UI Components (SDK) branding feature?

Hanko supports Prebuilt UI Components (SDK) branding feature. Hanko Elements: auth, login, registration, profile and events web components that work with any framework. Read more

Does Hanko support Login / Auth Analytics Dashboard analytics?

Hanko partially supports Login / Auth Analytics Dashboard analytics. Hanko Cloud is described as including analytics. The available reports are not documented. Read more

Does Hanko support ISO 27001 / 27017 / 27018 Certification compliance?

The status of ISO 27001 / 27017 / 27018 Certification is unknown. Listed as in progress on the Hanko Trust Center. Read more

Does Hanko support GDPR: Data Export (Portability) compliance?

Hanko partially supports GDPR: Data Export (Portability) compliance. User data is retrievable through the Admin API, without password hashes or TOTP secrets. The complete dataset has to be requested from Hanko. Read more

Does Hanko support GDPR: Right to be Forgotten (User Deletion) compliance?

Hanko supports GDPR: Right to be Forgotten (User Deletion) compliance. Users can delete their own account when account.allow_deletion is enabled, and the Admin API deletes users. The Trust Center lists GDPR as compliant. Read more

Does Hanko support Region Deployment compliance?

Hanko partially supports Region Deployment compliance. Hanko Cloud only runs in the AWS Frankfurt region in Germany. Self-hosted instances can run in any region. Read more

Does Hanko support Private Cloud Deployment compliance?

Hanko supports Private Cloud Deployment compliance. Private Cloud is part of the Enterprise plan. Read more

Does Hanko support SDK Coverage developer integration?

Hanko partially supports SDK Coverage developer integration. JavaScript Frontend SDK and Hanko Elements, with quickstarts for Next.js, Nuxt, Remix, SvelteKit, React, Vue, Angular, Solid and Svelte, and backend guides for Go, JavaScript, Java, Python and Rust. Mobile SDKs are not available yet. Read more

Does Hanko support Management API developer integration?

Hanko supports Management API developer integration. Admin API with API key authentication and an OpenAPI specification. It covers users, emails, passwords, passkeys, TOTP, sessions, metadata, webhooks, organizations, roles and audit logs. Admin API access is part of the Pro plan on Hanko Cloud. Read more

Does Hanko support Authentication API Rate Limits developer integration?

Hanko partially supports Authentication API Rate Limits developer integration. Limits are configurable per endpoint family. The limits that apply on Hanko Cloud are not published. Read more

Does Hanko support Actions / Extensibility Pipeline developer integration?

Hanko partially supports Actions / Extensibility Pipeline developer integration. Webhooks and session JWT templates. There are no inline custom code hooks. Read more

Does Hanko support TypeScript Support in Extensibility developer integration?

Hanko does not support TypeScript Support in Extensibility developer integration. No inline code execution, only webhooks and JWT templates.

Does Hanko support Custom Domain developer integration?

Hanko supports Custom Domain developer integration. Included in every plan, including the free Starter plan. Read more

Does Hanko support Native Webhook Support developer integration?

Hanko supports Native Webhook Support developer integration. HTTP callbacks carrying a signed JWT for user, email, username, login and custom claim events, with parent and sub-event filtering. Webhooks are part of the Pro plan on Hanko Cloud. Read more

Does Hanko support Universal Login / Hosted Login Page Customization developer integration?

Hanko supports Universal Login / Hosted Login Page Customization developer integration. Hanko Elements appearance can be customized, and the Flow API allows fully custom login pages. Read more

Does Hanko support Custom Email Provider (SMTP) developer integration?

Hanko supports Custom Email Provider (SMTP) developer integration. Emails can be sent through your own SMTP server. Custom SMTP is part of the Pro plan on Hanko Cloud. Read more

Does Hanko support Email Templates developer integration?

Hanko supports Email Templates developer integration. Email content can be customized. Read more

Does Hanko support Custom OIDC Claims / Token Enrichment developer integration?

Hanko supports Custom OIDC Claims / Token Enrichment developer integration. Session JWT templates (Go text/template) add custom claims from user data and metadata. Tenant-defined custom claims can be mapped from SAML and OIDC connections. Read more

Does Hanko support Macaroon Tokens feature?

Hanko does not support Macaroon Tokens feature.

Does Hanko support Platform-Agnostic Security Tokens (PASETO) feature?

Hanko does not support Platform-Agnostic Security Tokens (PASETO) feature.

Does Hanko support CBOR Web Token (CWT) and COSE feature?

Hanko does not support CBOR Web Token (CWT) and COSE feature.

Does Hanko support Biscuit Tokens feature?

Hanko does not support Biscuit Tokens feature.