Skip to main content
Account

Keycloak

Keycloak is an open-source identity and access management server. Learn how realms, single sign-on, OIDC, SAML and user federation work.

Status
Stable
Category
Provisioning
Subcategory
Security & Compliance
License
Apache-2.0
Technology matrix Skip Just not for me See the matrix

Keycloak is an open-source identity and access management server. It implements OpenID Connect, OAuth 2.0, and SAML 2.0, and handles user federation, single sign-on, social login, and fine-grained authorization against a pluggable user store.

A Keycloak deployment is organized into realms, each with its own users, clients (applications), roles, groups, and identity providers. Users can live in Keycloakโ€™s own database (backed by a JDBC store โ€” Postgres in practice) or be federated from LDAP, Active Directory, or a custom SPI. Brokering to upstream IdPs (Google, GitHub, another Keycloak, any OIDC/SAML server) is a first-class feature, which is why it is so frequently used as the SSO layer in front of a mixed stack of in-house and off-the-shelf apps. The server is written in Java on Quarkus (Keycloak 17+ replaced the older WildFly distribution).

It competes with Okta, Auth0, and Azure AD on the commercial side, and with Authentik, Ory Hydra/Kratos, and Zitadel on the open-source side. Keycloak is the heaviest of those but also the most feature-complete for enterprise protocol support โ€” if you need SAML, WS-Federation, LDAP federation, and OIDC in one box, it is usually the default answer.

Security & Compliance

Email signup loads here. You can also manage email preferences in account settings.

Build Keycloak? I'll show you where engineers get stuck with it โ†’ Back free content for the community โ†’