What is Keycloak?
Single sign-on, social login, LDAP federation and authorization rules for your apps.
Who is Keycloak best for?
Keycloak is best for platform and security teams that need single sign-on across their apps on their own servers.
One login across many apps
Users sign in once for every connected app and sign out of all of them at once.
Social and enterprise logins
Social logins and existing OpenID Connect or SAML 2.0 providers are switched on in the admin console, with no change to app code.
Companies on LDAP or Active Directory
Built-in user federation connects to existing LDAP or Active Directory servers.
Fine-grained permissions
Authorization services define policies beyond simple roles, managed from the admin console.
How much does Keycloak cost?
Keycloak is free under Apache 2.0, with no paid tier or hosted plan from the project; you run it yourself on Docker, Kubernetes or a Java server.
- Apache 2.0, every feature included
- OpenID Connect, OAuth 2.0 and SAML
- You run the server and its database
Keycloak has no paid edition or hosted cloud from the project itself. Full pricing on github.com. We checked these prices on .
How do readers rate Keycloak?
No one has rated Keycloak yet. Be the first.
Sign in to rate. One rating per account.
Is Keycloak open source?
Yes. Keycloak's code is public under the Apache 2.0 licence, so you can run it on your own server.
On GitHub
37,860stars
+547 (+1.5%) in the last 30 days
- Last commit
- 13 Nov
- Repository age
- 13 years
- Latest release
- 5 Nov
- Licence
- Apache 2.0
- Self-hosted
- Yes
- Repository
- keycloak/keycloak
What are the best Keycloak alternatives?
Keycloak is an open source alternative to WorkOS. Better Auth and authentik do the same job and are open source too.
Questions about Keycloak
What is Keycloak?
Single sign-on, social login, LDAP federation and authorization rules for your apps.
Who is Keycloak for?
Keycloak is best for platform and security teams that need single sign-on across their apps on their own servers.
Is Keycloak free?
Yes. Keycloak has a free Self-hosted plan: apache 2.0, every feature included.
Is Keycloak open source?
Yes. Keycloak's code is public under the Apache 2.0 licence, so you can run it on your own server.
What are the best Keycloak alternatives?
The closest alternatives on Recaply are WorkOS, Better Auth and authentik.
Where can I try Keycloak?
On its official website, keycloak.org.
What database does Keycloak need?
Keycloak's built-in dev-file database is for development only. In production it needs PostgreSQL, MySQL, MariaDB, Microsoft SQL Server or Oracle Database, and it also supports Amazon Aurora PostgreSQL and EnterpriseDB.







