Open source identity and access management for modern applications and services
open sourceApache-2.0self-hostablefree
Keycloak is a Java identity server that provides single sign-on, OpenID Connect, OAuth 2.0 and SAML 2.0, social login and identity brokering, LDAP/Active Directory federation, an admin console and fine-grained authorization. It is a CNCF incubating project and is widely self-hosted in enterprises.
Ways to install
On your own server
Problems it solves
- single sign-on across all our internal apps without paying per user
- our users live in Active Directory and every app needs its own login
- run our own OpenID Connect provider on-prem
- a self-hosted alternative to Auth0 that we fully control
- broker logins from Google and a partner's SAML IdP into one token format
- admins need a UI to manage users, roles and groups
- air-gapped environment, no SaaS allowed for identity
- standard OAuth tokens for dozens of microservices
- map LDAP groups to application roles
- add login, sign-up and password reset to my Python web app by pointing a standard OpenID Connect library at our own server
- stop writing registration, forgot-password and email verification pages for every app we build
Features
- SSO and single sign-out
- OIDC, OAuth 2.0, SAML 2.0
- identity brokering
- LDAP/AD federation
- admin and account consoles
- authorization services
- themes
- login flows with optional self-registration, password recovery and email verification
- apps use their own platform's OpenID Connect library (Java, JavaScript, Node.js, C#, Python), not a Keycloak adapter
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Takes plugins | plan not known |
| Has single sign-on | plan not known |
Alternatives
The same job
These do what Keycloak does.
- Casdoor An open-source, self-hosted identity and access management platform
- Logto The modern, open-source auth infrastructure for SaaS and AI apps
- Authelia The Single Sign-On Multi-Factor portal for web apps
- Tinyauth The tiniest OpenID Certified authorization and authentication server you have ever seen
- Kanidm A simple, secure, and fast identity management platform
- Pocket ID Easy self-hosted OIDC provider with passkeys