Skip to content

DirectoryTools

Keycloak logo

Keycloak

Single sign-on, social login, LDAP federation and authorization rules for your apps.

Visit Keycloak

Coding & WebOpen SourceWe checked the prices on github.com on 8 Nov 2026.

Keycloak homepage screenshot

What is Keycloak?

Single sign-on, social login, LDAP federation and authorization rules for your apps.

Coding & WebDevOps & InfrastructureAuthenticationSingle sign-onIdentity

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.

Self-hosted$0Free forever, on your own servers
  • 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.

No ratings yetThe score and its stars show once 3 readers have rated Keycloak.
Your rating

Sign in to rate. One rating per account.

Your rating of Keycloak

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
Run it yourselfThe code and the steps to put it on your own server are in its repository on GitHub.View on GitHub
Host it on a serverHostinger, DigitalOcean, Railway, Elestio and PikaPods set it up on a server for you with a one-click install.

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.