AppBreakup

authentik vs Keycloak

Updated October 2026 · AppBreakup editorial

authentik logo

authentik

Self-hosted open-source identity provider with SSO, LDAP, RADIUS and an application proxy.

Open sourceSelf-hostable
Keycloak logo

Keycloak

The widely used open-source identity and access management server for SSO across apps.

Open sourceSelf-hostable

The short answer

Both are free, open-source identity providers you host yourself. Pick Keycloak if you need a mature, standards-based SSO server with LDAP and Active Directory federation and commercial support through Red Hat. Pick authentik if you want one tool that also acts as an LDAP, RADIUS and proxy provider, with visual flows that many find more approachable. The biggest difference is breadth and ease versus maturity.

authentik or Keycloak: our take

Keycloak, started at Red Hat and now a CNCF project, speaks OpenID Connect, OAuth 2.0 and SAML. It provides single sign-on, a login and account console, social login, identity brokering, user federation with LDAP and Active Directory, and fine-grained authorization services, all managed through realms, clients and users in its admin console. It runs as a container on Docker, Podman or Kubernetes or as a Java distribution. authentik, written in Python and Go and usually run with Docker Compose or Kubernetes, acts as an OIDC and SAML provider, but also as an LDAP and RADIUS server for older systems and network gear, and as a proxy that adds login in front of apps with none of their own. It supports SCIM and Kerberos too.

Customisation works differently. Keycloak's configuration model and theming have a steep learning curve, and its login pages look dated without custom themes. authentik lets you design enrolment, login and recovery steps as flows and stages in the admin UI, with Python policies for detailed conditions, though that model also takes time to learn. Keycloak is entirely free under Apache 2.0, with paid support through Red Hat's build. authentik's open-source edition is free with no user limits, and its Enterprise edition costs $5 per user/month billed annually for extras such as remote access and device trust.

For enterprises, universities and products that need a widely deployed, standards-first identity server, Keycloak is the established choice. For homelabs, self-hosters and IT teams that want web SSO, LDAP, VPN authentication and proxy auth from one service, authentik is often easier to get running. Neither has a managed cloud from the project, so budget time for databases, upgrades and backups either way.

Which should you pick?

Choose authentik if…

  • Self-hosters and IT teams who want one identity provider for web apps, LDAP and VPNs
  • Covers OIDC, SAML, LDAP, RADIUS and proxy auth in one tool
  • Visual flows and Python policies for custom logic

Choose Keycloak if…

  • Organisations that want standards-based SSO on their own infrastructure at no licence cost
  • You need Linux, macOS and Windows, which authentik doesn't list
  • Free and open source under Apache 2.0
  • Supports OIDC, OAuth 2.0 and SAML with LDAP and AD federation

About each app

What is authentik?

authentik is an open-source identity provider written in Python and Go that you run yourself, usually with Docker Compose or Kubernetes. It acts as an OIDC and SAML provider for modern apps, an LDAP and RADIUS server for older systems and network gear, and a proxy that adds login in front of apps with no authentication of their own. Flows and stages let you design enrolment, login and recovery steps in the admin UI, and policies written in Python allow detailed conditions. It is a favourite in homelab and self-hosting circles as a more approachable alternative to Keycloak, and it is increasingly used by companies too. The open-source edition is free with community support; the Enterprise edition adds features such as remote access, device trust connectors and support, priced per internal user and per external user. Expect to spend some time learning its flow model before it feels natural.

What is Keycloak?

Keycloak is a free, open-source identity server originally started at Red Hat and now a Cloud Native Computing Foundation project. You run it yourself, as a container on Docker or Kubernetes or as a plain Java distribution, and point applications at it over OpenID Connect, OAuth 2.0 or SAML 2.0. It provides single sign-on and sign-out, a login and account console, social login, identity brokering to other providers, user federation with LDAP and Active Directory, fine-grained authorization services, and an admin console for managing realms, clients and users. Because it is standards-based and mature, it is a common choice inside enterprises, governments and universities, and many commercial products embed it. The cost is operational: you handle databases, upgrades, clustering and theme customisation, and the admin UI and configuration model take time to learn. Commercial support is available through Red Hat's build of Keycloak.

Side by side

AttributeauthentikKeycloak
PricingOpen sourceOpen source
Open sourceYesYes
Self-hostableYesYes
PlatformsSelf-hostedSelf-hosted, Linux, macOS, Windows
Best forSelf-hosters and IT teams who want one identity provider for web apps, LDAP and VPNsOrganisations that want standards-based SSO on their own infrastructure at no licence cost
StatusActiveActive

Verified facts, compared

Facts both apps publish, checked on each vendor's own site.

authentik vs Keycloak pricing

authentik: open source

  • Free plan: Open-source edition, free source
  • Enterprise price: $5 per user/month, billed annually source
authentik pricing page

Keycloak: open source

Platforms

PlatformauthentikKeycloak
Windows
macOS
Linux
Self-hosted

authentik facts

4 of 4 verified
Free plan
Open-source edition, free
Checked Oct 25, 2026goauthentik.io(opens source in a new tab)
“Pricing Open Source For homelab users and simple use cases”
Protocols
OIDC, SAML, LDAP, SCIM, RADIUS, Kerberos
Checked Oct 25, 2026goauthentik.io(opens source in a new tab)
“Supports OIDC , SAML , LDAP , SCIM , RADIUS , Kerberos”
Enterprise price
$5 per user/month, billed annually
Checked Oct 25, 2026goauthentik.io(opens source in a new tab)
“$5 / user / month $0.02 / external user* / month Billed annually.”
Self-hosting
Yes
Checked Oct 25, 2026goauthentik.io(opens source in a new tab)
“Using a self-hosted, open source identity provider means prioritizing security and taking control of your most sensitive data.”

Keycloak facts

4 of 4 verified
License
Apache-2.0
Checked Oct 25, 2026github.com(opens source in a new tab)
“License: Apache-2.0 (Apache License 2.0).”
Protocols
OpenID Connect, OAuth 2.0, SAML
Checked Oct 25, 2026keycloak.org(opens source in a new tab)
“Standard Protocols Keycloak is based on standard protocols and provides support for OpenID Connect, OAuth 2.0, and SAML.”
Directory federation
LDAP and Active Directory
Checked Oct 25, 2026keycloak.org(opens source in a new tab)
“User Federation Keycloak has built-in support to connect to existing LDAP or Active Directory servers.”
Deployment
Container image for Docker, Podman, Kubernetes
Checked Oct 25, 2026keycloak.org(opens source in a new tab)
“Server Keycloak Distribution powered by Quarkus ZIP ( sha1 ) TAR.GZ ( sha1 ) Container image For Docker, Podman, Kubernetes and OpenShift”

Pros and cons of authentik

  • Covers OIDC, SAML, LDAP, RADIUS and proxy auth in one tool
  • Visual flows and Python policies for custom logic
  • Free open-source edition with no user limits
  • Flow and stage concepts take time to learn
  • No managed cloud; you operate it yourself
  • Some enterprise features need a paid licence
More authentik alternatives

Pros and cons of Keycloak

  • Free and open source under Apache 2.0
  • Supports OIDC, OAuth 2.0 and SAML with LDAP and AD federation
  • Mature, widely deployed and well understood
  • You run, scale and upgrade it yourself
  • Admin concepts and theming have a steep learning curve
  • Login pages look dated without custom themes
More Keycloak alternatives

Other apps to consider

  • Authelia logo
    Authelia

    Instead of authentik

    Much lighter option when you mainly need SSO and 2FA in front of a reverse proxy.

  • Pocket ID logo
    Pocket ID

    Instead of authentik

    Far simpler passkey-only OIDC provider for small teams and homelabs.

  • Zitadel logo
    Zitadel

    Instead of authentik

    Open-source with a managed cloud option if you want to stop self-hosting.

  • FusionAuth logo
    FusionAuth

    Instead of Keycloak

    Self-hostable server with a cleaner API and optional paid support and hosting.

  • Ory logo
    Ory

    Instead of Keycloak

    Headless, API-first components for teams that want to build their own login UI.

  • Casdoor logo
    Casdoor

    Instead of Keycloak

    Lightweight open-source IAM with a simple web UI and many identity providers.

authentik vs Keycloak: common questions

Is authentik better than Keycloak?

Both are free, open-source identity providers you host yourself. Pick Keycloak if you need a mature, standards-based SSO server with LDAP and Active Directory federation and commercial support through Red Hat. Pick authentik if you want one tool that also acts as an LDAP, RADIUS and proxy provider, with visual flows that many find more approachable. The biggest difference is breadth and ease versus maturity.

Is authentik free?

Yes. authentik is free, open-source software you can host yourself.

Is Keycloak free?

Yes. Keycloak is free, open-source software you can host yourself.

Is authentik or Keycloak open source?

Both are open source.

Which platforms do authentik and Keycloak support?

authentik: Self-hosted. Keycloak: Self-hosted, Linux, macOS and Windows.