Skip to content
whichdevtool?
Categories ▾

Frameworks and UI

Frontend and full-stack frameworks Backend frameworks UI component libraries

Hosting

VPS and cloud servers App hosting and PaaS

Data

Managed databases File and object storage ORMs and database toolkits

AI

AI model APIs

Email

Transactional email APIs Email marketing and newsletters

Payments

Payments and billing

Domains and edge

Domain registrars CDN, DNS and edge security

Operations and identity

Monitoring, uptime and error tracking Auth and identity Background jobs, queues and workflows
Stacks Directory
Ctrl K

Search directory
Menu
StacksDirectory Pricing changes Glossary
VPS and cloud servers App hosting and PaaS Managed databases Transactional email APIs Email marketing and newsletters Domain registrars CDN, DNS and edge security Monitoring, uptime and error tracking Auth and identity Frontend and full-stack frameworks Backend frameworks UI component libraries AI model APIs File and object storage Payments and billing Background jobs, queues and workflows ORMs and database toolkits
  1. Home
  2. Auth and identity
  3. Keycloak

Open-source identity server · by Keycloak project (CNCF)

Keycloak

The long-established Apache-licensed identity and access management server: OIDC, OAuth 2.0 and SAML, LDAP/AD federation, identity brokering and fine-grained authorization, self-hosted.

Visit keycloak.org ↗ Alternatives Open source Open source Self-hostable EU region
keycloak.org
Keycloak homepage
§1

Overview

Keycloak is the reference open-source identity and access management server, maintained on GitHub under the Apache 2.0 licence with a community on the CNCF Slack. Applications hand login to Keycloak over OpenID Connect, OAuth 2.0 or SAML 2.0, so they never store passwords or build login forms, and users get single sign-on and single sign-out across every connected app.

Its feature set is broad: identity brokering to social networks and external OIDC or SAML providers, user federation with LDAP and Active Directory (or your own user store through a provider), fine-grained authorization services, an admin console for realms, clients, users and sessions, and an account console where users manage their profile, passwords, two-factor auth and linked identities.

Everything is free, but you operate it: a Java server plus a database, upgrades, themes written in FreeMarker, and clustering if you need high availability. It is excellent for internal SSO and enterprise integrations, and heavier than developer-focused tools when all you want is login for one web app.

§2

Pricing and plans

Free tier · no card

Entirely free and open source (Apache 2.0) with no user limits; you provide the servers and database

At the limit Not stated The vendor does not say what happens at the limit, or we have not found it yet.

Plan Price What you get
Keycloak Free Self-hosted, Apache 2.0, all features

Keycloak has no paid plans of its own; costs are your infrastructure and operations. Commercially supported builds and managed Keycloak hosting are sold by third parties, which are not covered here. euRegion is true because you choose where to run it.

Source: www.keycloak.org/ · prices as published, excluding tax.

§3

What it does

Single sign-on and sign-out
Users log in once for all connected applications and log out of all of them at once.
Identity brokering
Social login and external OIDC or SAML 2.0 identity providers configured in the admin console without code changes.
User federation
Built-in LDAP and Active Directory integration, plus custom providers for other user stores.
Authorization services
Central fine-grained permission policies beyond simple roles.
Admin and account consoles
Admin UI for realms, clients, users and sessions; self-service console for users' profiles, passwords and 2FA.
Container image
Official image on quay.io; a single command starts a dev server.
§4

Strengths and limitations

Strengths

  • Free and Apache-licensed with no user limits
  • Covers OIDC, OAuth 2.0, SAML, LDAP and AD in one server
  • Large, long-running community (since 2013)
  • Runs anywhere, so data location is your choice

Limitations

  • You must operate, upgrade and scale the Java server and its database
  • No official hosted service or paid support from the project itself
  • Custom login UI means working with Keycloak themes
  • Heavier to set up than developer-first hosted auth for a single app
§5

Who it suits

Good for

  • Internal SSO across many company applications
  • Enterprises integrating LDAP or Active Directory
  • Teams that need free, self-hosted SAML and OIDC

Look elsewhere if

  • Solo developers who want hosted auth with drop-in UI components
  • Teams without capacity to run and patch an identity server
§6

Alternatives to Keycloak

Tool From Free option Stages
Zi
Zitadel Open-source multi-tenant identity (cloud or self-hosted)
$100/mo Free tier
FA
FusionAuth Self-hostable CIAM server
$162/mo Free tier
Auth0 Hosted customer identity (CIAM)
$35/mo Free tier
St
Stytch Hosted auth API (B2B and consumer)
$125/mo Free tier
ON
Ory Network Headless IAM (open source and SaaS)
$770/yr Free tier
WA
WorkOS AuthKit Hosted auth with enterprise SSO
$125/mo Free tier

All auth and identity →

§7

Questions

Is Keycloak free?

Yes. Keycloak is open source under the Apache 2.0 licence with no user limits; you pay only for the servers you run it on.

Does Keycloak support SAML?

Yes. It supports OpenID Connect, OAuth 2.0 and SAML 2.0, both as an identity provider and for brokering to other providers.

Can Keycloak connect to Active Directory?

Yes. It has built-in LDAP and Active Directory user federation.

How do I try Keycloak quickly?

Run the official container image in dev mode with docker run quay.io/keycloak/keycloak start-dev.

Sources read for this page

  • https://www.keycloak.org/
  • https://www.keycloak.org/documentation
  • https://github.com/keycloak/keycloak
Spec sheet
From
Open source
Free tier
Entirely free and open source (Apache 2.0) with no user limits; you provide the servers and database
Stages
HobbyIndieStartupScale-upEnterprise Suits hobby, startup, scale-up, enterprise
Free MAU
Unlimited (self-hosted)
After free
Free; you pay only for hosting
Enterprise SSO
SAML 2.0 and OIDC, free
Self-host
Yes (Apache 2.0)
Open source
Yes
Self-host
Yes
EU data
Available
Category
Auth
Visit keycloak.org ↗

To report an out-of-date price or limit, use the correction form.

whichdevtool?

Developer and cloud tools compared on price, free tier and limits, each with its source. For side projects, solo developers and small teams.

Categories

  • VPS and cloud servers
  • App hosting and PaaS
  • Managed databases
  • Transactional email APIs
  • Email marketing and newsletters
  • Domain registrars
  • CDN, DNS and edge security
  • Monitoring, uptime and error tracking
  • Auth and identity
  • Frontend and full-stack frameworks
  • Backend frameworks
  • UI component libraries
  • AI model APIs
  • File and object storage
  • Payments and billing
  • Background jobs, queues and workflows
  • ORMs and database toolkits

Research

  • Directory
  • Stacks by project
  • Developer news
  • Pricing changes
  • Glossary

Site

  • About and methods
  • How we make money
  • Suggest a tool or fix
  • Privacy
© 2026 whichdevtool.com Prices change. Each tool page links to its source. We may earn a commission when you sign up through links on this site. How we make money