Keycloak

Keycloak is an open-source identity and access management platform for securing applications, APIs, and services with SSO, federation, authentication, and authorization.

8.5/10 TechZella Score
Visit Website ↗
At a glance

Quick Verdict

Keycloak provides broad IAM functionality, standards-based protocols, federation, authorization services, administration APIs, extensibility, and container deployment options. Its open-source license reduces software cost, while setup, operations, upgrades, and commercial support require technical r

Overview

Keycloak is an open-source identity and access management platform. It secures web applications, REST services, and other workloads through centralized authentication and authorization.

The project supports single sign-on, single sign-out, user management, identity federation, social login, user federation, and customizable login, account, and administration interfaces. It is distributed under the Apache License 2.0.

Keycloak can run on virtual machines, bare-metal servers, containers, Kubernetes, and OpenShift. Its current distribution uses Quarkus and includes official container images and a Kubernetes operator.

Key Features

Keycloak supports OpenID Connect, OAuth 2.0, and SAML-based application security. It can act as an identity provider or connect applications to external identity providers.

Core capabilities include browser-based SSO, user registration, password policies, multi-factor authentication, WebAuthn, passkeys, account management, role-based access control, groups, client scopes, and token management.

Authorization Services provide centralized, fine-grained permission policies. Administrators can manage realms, users, clients, roles, groups, identity providers, and sessions through the administration console or REST API.

Integration options include LDAP and Active Directory user federation, external providers such as Google and Facebook, custom user-storage providers, supported relational databases, Docker, Podman, Kubernetes, and OpenShift.

Keycloak supports extension through themes, providers, service-provider interfaces, client libraries, and community-maintained extensions. The project provides JavaScript client libraries, Java administration and authorization clients, and a policy enforcer.

Pricing

The community edition is available at no software cost under the Apache License 2.0. Users operate the infrastructure, database, upgrades, monitoring, security configuration, and support arrangements themselves.

Keycloak does not publish a hosted SaaS pricing table or a conventional time-limited trial. The software can be downloaded and deployed for evaluation without purchasing a license.

Red Hat offers a commercial Red Hat build of Keycloak based on the upstream project. Entitlement is included with certain Red Hat subscriptions, including Red Hat Runtimes, Red Hat Application Foundations, and OpenShift Container Platform. Public list pricing was not verified.

Pros & Cons

Keycloak offers extensive standards support, self-hosted control, broad federation options, customizable interfaces, and no community-edition license fee.

Its main trade-offs are operational complexity, infrastructure responsibility, upgrade planning, and the need for specialist IAM knowledge in larger deployments. Commercial support and certified distributions require separate vendor arrangements.

Alternatives

Comparable products include Authentik, Gluu Server, WSO2 Identity Server, ForgeRock, Okta Customer Identity, Microsoft Entra External ID, Auth0, and Ping Identity. The closest choice depends on deployment preferences, protocol requirements, support expectations, and whether a managed service is required.

FAQ

Is Keycloak free?
Yes. The community distribution is open source and licensed under Apache License 2.0. Infrastructure and operational costs remain the user’s responsibility.

Does Keycloak provide a hosted cloud service?
The upstream project provides software, container images, and deployment tooling rather than a first-party hosted SaaS plan.

What platforms does Keycloak support?
It runs on Linux and Windows servers, containers, Kubernetes, and OpenShift. The web consoles work in current Chrome, Firefox, Edge, and Safari browsers.

Does Keycloak have an API?
Yes. It provides an Administration REST API, Java APIs, client libraries, and extension interfaces.

Can Keycloak connect to Active Directory?
Yes. Keycloak supports LDAP and Active Directory integration through user federation.

Does Keycloak offer a free trial?
There is no separate trial plan because the community software can be downloaded and deployed without a license fee.

Capabilities

Features

Identity and Access Management

  • Single sign-on and single sign-out
  • User registration and account management
  • User federation
  • Role-based access control
  • Groups and client scopes
  • Session and token management

Authentication

  • OpenID Connect
  • OAuth 2.0
  • SAML 2.0
  • Multi-factor authentication
  • WebAuthn and passkeys
  • Customizable login themes

Authorization

  • Fine-grained authorization services
  • Policy enforcement
  • Permission and resource management
  • Client policies
  • Token exchange

Integrations

  • LDAP and Active Directory
  • External identity providers including Google and Facebook
  • Custom user-storage providers
  • Supported relational databases
  • Docker and Podman
  • Kubernetes and OpenShift

Developer Tools

  • Administration REST API
  • Java administration client
  • Java authorization client
  • JavaScript client library
  • Policy enforcer
  • Provider and theme extension points
Product details

Specifications

LicenseApache License 2.0
DeploymentSelf-hosted
RuntimeOpenJDK 17, 21, or 25
Application runtimeQuarkus
Supported databasesPostgreSQL, MariaDB, MySQL, Microsoft SQL Server, Oracle Database, EnterpriseDB Advanced, Amazon Aurora PostgreSQL, Azure SQL Database, Azure SQL Managed Instance
Container supportDocker and Podman
OrchestrationKubernetes and OpenShift
Browser supportCurrent Chrome, Firefox, Edge, and Safari
ProtocolsOpenID Connect, OAuth 2.0, SAML 2.0
IntegrationsLDAP, Active Directory, external identity providers, custom user storage
APIAdministration REST API, Java APIs, client libraries
Free trialNot applicable; community edition is downloadable at no software cost
Commercial supportRed Hat build of Keycloak
Visual preview

Demo & Screenshots

Screenshots are not available yet.TechZella will add verified product images when suitable official screenshots are found.
Our evidence-based assessment

TechZella Score

A proprietary editorial score based on product capabilities, usability, value, performance, support and user sentiment evidence.

8.5/10Moderate confidence
Features9.1
Ease of Use7.2
Value for Money9.4
Performance8.7
Support7.4
User Sentiment8.2

Keycloak provides broad IAM functionality, standards-based protocols, federation, authorization services, administration APIs, extensibility, and container deployment options. Its open-source license reduces software cost, while setup, operations, upgrades, and commercial support require technical resources.

Methodology v1.0. This is a TechZella editorial assessment, not a direct user-review average.

Plans & pricing

Pricing

Community Edition

$0
license

Open-source self-hosted software distributed under Apache License 2.0. Infrastructure, operations, and support are separate.

Check current pricing →

Red Hat build of Keycloak

Contact sales
subscription

Commercial Red Hat distribution based on the Keycloak project. Entitlement is included with selected Red Hat subscriptions; public list pricing was not verified.

Check current pricing →

Pricing may change. Verify current plans on the vendor's website.

Editorial assessment

Pros & Cons

Pros

  • Open-source Apache 2.0 licensing avoids community-edition license fees.
  • Supports major identity protocols, including OpenID Connect, OAuth 2.0, and SAML.
  • Provides LDAP and Active Directory federation.
  • Offers fine-grained authorization and extensive extension points.
  • Runs across virtual machines, containers, Kubernetes, and OpenShift.
  • Includes administration REST APIs and client libraries.

Cons

  • Self-hosted deployments require teams to manage availability, security, upgrades, and backups.
  • Configuration and production tuning can require substantial IAM and infrastructure expertise.
  • The upstream project does not provide a first-party hosted SaaS pricing plan.
  • Some adapters and integrations may require custom development or community extensions.
  • Commercial support and certified Red Hat distributions are separate from the free community edition.
Similar software

Alternatives

Authentik
Gluu Server
WSO2 Identity Server
Okta Customer Identity
Microsoft Entra External ID
Compare options

Top Competitors

Community feedback

Reviews

No reviews yet. Be the first to share your experience.

Write a Review