Keycloak

Keycloak

Unclaimed verified 18 nov 2026
[  score · 42  ]

Open source identity and access management solution for single sign-on and authentication.

Pricing: Free - Free (open source; self-hosted infrastructure costs apply) Company: Red Hat (original developer; community/CNCF project) Founded: 2014 Last verified: 2026-11-18
Visit Website
Updated

TL;DR

Keycloak is an open-source identity and access management (IAM) solution stewarded by the CNCF and Red Hat. It provides single sign-on (SSO), multi-factor authentication, user federation, and fine-grained authorization for modern enterprise applications. Its primary differentiator is delivering a complete, battle-tested IAM platform under the Apache 2.0 license with zero per-user licensing fees and total data sovereignty.

What Users Actually Pay

No user-reported pricing yet.

Our Take

Keycloak occupies the dominant position in the open-source CIAM and IAM landscape. Unlike commercial SaaS platforms like Okta or Auth0 that charge steep monthly active user (MAU) fees, Keycloak provides an end-to-end authentication server complete with an administrative console, user self-service account portals, and extensive protocol engines (OIDC, OAuth 2.0, SAML 2.0) straight out of the box. Its transition to the Quarkus runtime has substantially improved its memory footprint and startup performance compared to legacy WildFly versions. The platform's greatest strength is its uncompromised flexibility and protocol compliance. Organizations can deploy it in air-gapped environments, hybrid clouds, or on Kubernetes, federate identity with existing Active Directory/LDAP systems, and customize behavior down to custom Java Service Provider Interfaces (SPIs). However, Keycloak functions as core enterprise infrastructure rather than a simple drop-in authentication library; operating it requires dedicated DevOps or SRE expertise. The administrative interface presents a steep learning curve, and managing distributed Infinispan caching, multi-node clustering, and version migrations demands non-trivial engineering overhead. Keycloak is ideal for engineering teams in regulated industries, government/public sectors, and large B2B/B2C SaaS businesses where data sovereignty is mandatory and commercial SaaS pricing would prove economically prohibitive.

Pros

  • + Zero software licensing costs under the Apache 2.0 open-source license with all enterprise features included.
  • + Comprehensive protocol support including OpenID Connect, OAuth 2.0, SAML 2.0, SCIM 2.0, and WebAuthn/passkeys.
  • + Full data sovereignty with the ability to self-host on-premises, across hybrid clouds, or on Kubernetes.
  • + Extensive customizability through Java SPIs for custom authenticators, user storage providers, and token mappers.

Cons

  • - High operational complexity requiring dedicated DevOps expertise for clustering, Infinispan caching, and database migrations.
  • - Steep learning curve for the admin console and IAM protocol concepts.
  • - Lacks native out-of-the-box outbound HTTP webhook dispatching without installing custom SPI extensions.
  • - Significant baseline memory and compute resource requirements compared to lightweight headless auth libraries.

Agent Readiness

67/100

Keycloak has strong readiness for autonomous AI agents requiring programmatic identity management, client provisioning, and token introspection. It exposes an OpenAPI-documented REST Admin API alongside standard OAuth 2.0 and OIDC endpoints. Because it is self-hosted, agents can execute unbounded API calls without commercial rate limiting, though event-driven automations require custom Event Listener SPIs or intermediary webhooks.

API Surface100
Public APIRESTFree TieropenApi
Protocol Support40
MCP (128 tools)
SDK Availability70
npm: keycloak-connect (official)npm: keycloak-angular (official)npm: @react-keycloak/web (official)npm: @react-keycloak/core (official)npm: nest-keycloak-connect (official)npm: @s3pweb/keycloak-admin-client-cjs (official)npm: cypress-keycloak (official)npm: keycloakify (official)npm: @pulumi/keycloak (official)npm: @multiplatform.one/keycloak (official)pypi: keycloak (official)pypi: keycloak-sdk (official)
Integration Ecosystem25
n8nKubernetes OperatorLDAP / Active DirectoryGrafanaHashiCorp VaultOpenShift
Developer Experience85
Docs: excellentSandboxVersioningChangelog

Last checked Nov 6, 2026

MCP Integrations

6 servers
io.github.ChristophEnglisch/keycloak-model-context-protocolio.github.ChristophEnglisch/keycloak-model-context-protocol
official

Manage Keycloak users, groups, roles and realms through the Keycloak Admin REST API.

io.github.dockndevai/mcp-keycloakio.github.dockndevai/mcp-keycloak
official

Keycloak admin for AI agents — realms, users, clients, roles; safe-by-default governance.

io.github.heintonny/keycloak-mcp.testio.github.heintonny/keycloak-mcp.test
official

This is just a test publish, delete me

io.github.mrz1880/mcp-keycloak-adminio.github.mrz1880/mcp-keycloak-admin
Bring a keyofficial

Needs a self-provisionable API key

Administer Keycloak via its Admin REST API: users, roles, clients, groups, IdP, events.

io.github.sferarc/keycloak-api-mcpio.github.sferarc/keycloak-api-mcp
official

Unofficial: one tool per Keycloak admin operation on a realm, read-only unless writes are enabled

io.github.shigechika/keycloak-mcpio.github.shigechika/keycloak-mcp
official

MCP server for KeyCloak Admin REST API via Service Account

Last checked Nov 11, 2026

[ features ]

Geostrategic Position

Information on which part of the world this product / vendor belongs to, i.e. the country of their headquarters primarily, but also their hosting options etc.

Headquarter Region

Find which geostrategic world region the headquarter is located in. Relevant for compliance questions (e.g., CLOUD Act) or risk of cut-off in case of conflicts. For example, some EU companies are worried about the US and would definitely not host their customer with Chinese or Russian companies.

United States
Hosting Provider

The hosting provider that is used to host this product, if any.

—
Hosting Locations

The available hosting locations, if you can choose

—

Compliance & Security

Security certifications, compliance features, and access control capabilities.

SOC 2

SOC 2 Type I or Type II certification.

none
ISO 27001

ISO 27001 information security certification.

no
GDPR Tools

Built-in tools for GDPR compliance (data export, deletion, consent).

[  yes  ]
Audit Trail

Complete audit log of all data changes.

[  yes  ]
Role-Based Access Control

Granular permissions based on user roles.

[  yes  ]
SSO Support

Single Sign-On integration support.

Both

Developer Experience

Tools and abstractions easing agent development and iteration.

Visual Builder

No-code/low-code UI for designing agent workflows.

no
OpenAI Compatibility

OpenAI API-compatible endpoints or SDKs.

no
Open Source

Available as open-source with community contributions.

[  yes  ]
SDK Languages

Programming languages with official SDK support.

[  Other  ]
Pre-built UI Components

Ready-to-use, customizable UI elements for auth flows.

[  yes  ]
Admin Portal

Self-service admin dashboard for customers to manage users/orgs.

[  yes  ]
Framework Integrations

Supported frontend frameworks with dedicated guides/components.

—

Authentication Methods

Core authentication flows and options supported by the platform.

Passwordless Auth

Supports passwordless authentication via magic links, passkeys, or biometrics.

[  yes  ]
Social Providers

Supported third-party social login providers.

[  Google  ] [  Facebook  ] [  GitHub  ] [  Twitter/X  ]
MFA Methods

Supported multi-factor authentication methods.

[  TOTP  ] [  WebAuthn/Passkeys  ]
Bot Detection

Built-in protection against bots and automated attacks during auth.

[  yes  ]

Enterprise Integrations

Protocols and tools for integrating with enterprise identity systems.

SCIM Provisioning

Supports SCIM for automated user provisioning and deprovisioning.

no
Directory Sync

Supports syncing users/groups from directories like HRIS or IdPs.

[  yes  ]
Supported IdPs

Compatible identity providers for federation.

[  Okta  ] [  Entra ID/Azure AD  ] [  Google Workspace  ]
JIT Provisioning

Just-In-Time user provisioning from SAML/OIDC assertions.

[  yes  ]

Pricing & Free Tier

Free tier limits and overall pricing structure.

Free Tier MAU Limit

Maximum Monthly Active Users allowed on the free tier.

0
Billed Metrics

Key usage metrics that incur costs.

—

Reviews

0 reviews
Write a Review

No reviews yet. Be the first to review Keycloak!