Keycloak
Keycloak is an open-source identity and access management (IAM) solution aimed at modern applications and services. It provides a secure way to handle authentication, authorization, user federation, and single sign-on (SSO) without writing custom code.
Keycloak is widely used in microservices, enterprise apps, and public-facing portals to centralize identity management and improve security posture.
Single Sign-On (SSO)
Users can log in once to access multiple applications and services.
Identity Brokering and Social Login
Easily integrate with external identity providers like Google, Facebook, Microsoft, GitHub, etc.
User Federation
Connect to existing user directories like LDAP and Active Directory.
Admin Console & User Self-Service
Web-based UI for managing realms, users, roles, clients, and settings. End-users can manage their profiles and passwords.
Role-Based Access Control (RBAC)
Assign fine-grained roles and permissions to users and groups.
Open Standards Support
Built-in support for OAuth 2.0, OpenID Connect, and SAML 2.0.
Multi-Factor Authentication (MFA)
Enable two-factor login with OTP apps or hardware tokens.
Extensible and Customizable
Customize login flows, themes, and integrate with your backend systems via SPI and REST APIs.
Docker and Kubernetes Friendly
Official container images and Helm charts make it easy to deploy and scale in cloud-native environments.
Internationalization (i18n)
Built-in support for multiple languages for both the admin and user-facing interfaces.
admin
admin
A realm is a tenant that holds applications, users, and configurations.
myrealm
myrealm
).myuser
myuser
Here users can manage profiles, set up 2FA, and link accounts.
To register an application with Keycloak:
myrealm
realm.OpenID Connect
myclient
https://www.keycloak.org/app/*
https://www.keycloak.org
https://www.keycloak.org/app/
, click Sign in, and authenticate via your Keycloak server.Before deploying to production, consider:
For deeper setup, see Keycloak’s server guides.
This guide is based on the official documentation.
© Keycloak Authors / The Linux Foundation 2025.
Official Guide