Auth0Alternatives
FeaturesOpen SourceSelf-hostedB2BB2CCompare Prices
SubmitSign In

Discover

LatestOpen SourceSelf-hostedB2BB2CAll providers

AI & Agents

MCP AuthorizationAgent IdentitiesToken VaultAI Agent DetectionDevice LoginAll features

Data Residency

🇪🇺European Union🇺🇸United States🇬🇧United Kingdom🇨🇭Switzerland🇦🇺AustraliaAll regions

Compliance

SOC2GDPRISO 27001HIPAAPCI DSSAll compliance
Compare PricesSubmit
Favicon of Keycloak

Keycloak

Open source identity and access management solution with single sign-on, social login, user federation, and fine-grained authorization for applications.

Visit Keycloakauth0 iconCompare with Auth0Keycloak pricing
Screenshot of Keycloak websiteVisit Keycloak

Keycloak is a comprehensive open source identity and access management solution that eliminates the complexity of handling user authentication and authorization in your applications. Instead of building custom login systems, developers can integrate Keycloak to handle all identity-related tasks with minimal effort.

Key features include:

  • Single Sign-On (SSO) - Users authenticate once and access multiple applications without repeated logins
  • Social Login Integration - Easy setup for authentication via Google, Facebook, GitHub, and other social providers
  • Identity Brokering - Connect with existing OpenID Connect or SAML 2.0 identity providers
  • User Federation - Built-in LDAP and Active Directory support, plus custom provider options
  • Fine-grained Authorization - Role-based access control and advanced permission policies
  • Standard Protocol Support - OpenID Connect, OAuth 2.0, and SAML 2.0 compliance

The platform provides both an admin console for centralized management of users, applications, and policies, and an account management console where users can update profiles, manage sessions, and configure two-factor authentication.

Keycloak is designed for scalability with clustering support, offers extensive customization through themes and code extensions, and maintains high performance while being lightweight. As a Cloud Native Computing Foundation incubation project, it's actively maintained and enterprise-ready.

Features:

Passwordless Authentication
Social Connections
Passkeys
Long Lived Sessions

Session idle and max lifespans and offline sessions can be adjusted to keep sessions alive for longer periods

Session Management

Admins can view and revoke user and client sessions, sign out all sessions, and configure session lifespans in the admin console

Multi-Language

The UI is internationalized. Administrators can enable multiple languages and users can choose their language at login or in the account/admin consoles

Device Login (CLI & TV)

SSO Enterprise Connections
SAML
SCIM

Supported since Keycloak 26.8.

CIBA
LDAP

Client Credentials Support
Access Token Support
Token Restrictions

Lifespans for access, refresh and ID tokens can be configured. Refresh tokens can have reuse limits

MCP Authorization

Newer versions of the MCP spec are experimental.

Agent Client Registration

CIMD is experimental.

Third-Party App & Agent Access
Token Vault

Can store and hand out tokens from connected login providers.

Human-in-the-Loop Approval

You build the channel that reaches the user's device yourself.

Agent Identities
Delegated Token Exchange

Only between Keycloak clients, not with external providers.

Developer MCP Server

Custom Login Page

Each screen is backed by a theme. Administrators can override templates and stylesheets to customize login and registration pages

Custom Domain

Webhooks

Keycloak does not include built‑in webhook event delivery. Community plugins available

Integrations

No official integrations with third‑party business tools are provided. Integrations require custom code or community plugins

Brute Force Protection
Suspicious IP Detection
Impossible Travel Protection
Bot Detection

Authentication flows can include Google reCAPTCHA or reCAPTCHA Enterprise to filter bots during login and registration

Breached Password Protection
New Device Detection
MFA
Adaptive MFA

Using client policies and conditional flows, Keycloak can implement step‑up authentication to require higher authentication levels based on requested ACR or resources

Security Monitoring Dashboard

Keycloak lacks a built‑in security monitoring dashboard; events are logged but no dashboard is provided

AI Agent Detection
Fraud & Risk Scoring

Only a reCAPTCHA Enterprise score at registration.

User Import
Organizations

The Organizations feature allows administrators to manage organizations and members, onboard users via invitations

Custom Attributes
Role Management
Account Linking
Impersonation

Admins with the impersonation role can log in as a user from the Users list or user details to troubleshoot issues

Admin Interface

The admin console lets administrators manage realms, users, clients, identity brokering and authorization policies centrally

User Export

Realms can be exported along with users. Administrators can choose strategies

Password Export

Rate Limits
Log Streaming

Events are logged internally and can be exported via custom listeners

Environments

Managing separate environments (dev/staging/prod) is done via separate realms or servers

SLA
Community Support

Keycloak has mailing lists, forums and other community channels for support

Email Support
Enterprise Support
Monitoring

No built‑in monitoring dashboard. Metrics require community extensions such as the Metrics SPI

Share:
Details:
  • B2B


    Yes
  • B2C


    Yes
  • Open Source


    Yes
  • Self-hosted


    Yes
  • EU data residency


    Yes
View Repository
Favicon

 

  
 

Similar to Keycloak:

Favicon

 

  
  
Favicon

 

  
  
Favicon

 

  
  
Subscribe to our newsletter

Join other CTOs and engineers to get the latest news and to keep your apps secure.

Browse:Open SourceSelf-hostedB2BB2CFeaturesComplianceData ResidencyAuth Pricing CalculatorSSO Pricing by ProviderMFA Pricing by Provider
Quick Links:Contact UsSubmitBlogAbout Us
Built withDirstarter
Auth0Alternatives
FeaturesOpen SourceSelf-hostedB2BB2CCompare Prices
SubmitSign In

Discover

LatestOpen SourceSelf-hostedB2BB2CAll providers

AI & Agents

MCP AuthorizationAgent IdentitiesToken VaultAI Agent DetectionDevice LoginAll features

Data Residency

🇪🇺European Union🇺🇸United States🇬🇧United Kingdom🇨🇭Switzerland🇦🇺AustraliaAll regions

Compliance

SOC2GDPRISO 27001HIPAAPCI DSSAll compliance
Compare PricesSubmit
Ad
Favicon of DescopeDescope
Drag & Drop Your Auth. Add secure, frictionless authentication journeys for your customers, partners, and AI agents.
Visit Descope
Ad
Favicon of AuthsignalAuthsignal
You might not need to replace your auth provider. Add passkeys, adaptive MFA, and a no-code orchestration engine on top of the identity stack you already run.
Visit Authsignal
Featured projects

Become a sponsor of Auth0Alternatives:

Favicon of DescopeFavicon of Authsignal

Similar to Keycloak:

Favicon of Scalekit

Scalekit

Enterprise SSO & SCIM for B2B SaaS in hours, not weeks
Complete authentication platform for B2B SaaS with ready-to-deploy SSO, SCIM provisioning, and social logins. Win enterprise customers without dev overhead.
Favicon of Sooauth

Sooauth

Standard OIDC auth with zero database migrations
Open-source OIDC authentication with passkeys, no DB migrations, and 10-second self-hosting. Free cloud beta for AI builders and indie SaaS.
Open Source
Favicon of SSOJet

SSOJet

Enterprise SSO in days, without rebuilding your auth stack
Add SAML SSO, SCIM provisioning, and audit logs to your B2B SaaS in days. Connects to 100+ identity providers alongside your existing auth.
Popular Auth0 Comparisons:
Engity vs Auth0
Amazon Cognito vs Auth0
Entra External ID vs Auth0
Firebase Authentication vs Auth0
Clerk vs Auth0
WorkOS vs Auth0
Frontegg vs Auth0
FusionAuth vs Auth0
Supabase Auth vs Auth0
Auth.js vs Auth0
Ory vs Auth0
SuperTokens vs Auth0
Logto vs Auth0
Hanko vs Auth0
Hexclave vs Auth0
Authress vs Auth0
Popular WorkOS Comparisons:
Engity vs WorkOS
Auth0 vs WorkOS
Amazon Cognito vs WorkOS
Entra External ID vs WorkOS
Firebase Authentication vs WorkOS
Clerk vs WorkOS
Frontegg vs WorkOS
FusionAuth vs WorkOS
Supabase Auth vs WorkOS
Auth.js vs WorkOS
Ory vs WorkOS
SuperTokens vs WorkOS
Logto vs WorkOS
Hanko vs WorkOS
Hexclave vs WorkOS
Authress vs WorkOS