Friction

Keycloak problems and complaints, from 65 public threads

Keycloak · keycloak.org · Authentication and identity

Open-source identity and access management with single sign-on.

3 recurring themes · 20 recent reports · 27 older (2 of them belong to the recurring themes listed here) · 22 fixed upstream · 65 source threads · updated 2026-10

65 source threads read, 20 recent reports, 3 recurring themes. The 3 that come up most:

Watch Keycloak: email me when new reports are addedOpen the 31 locked Keycloak reports, free

Free during early access, no card. See plans

  1. Keycloak feels overly complex and heavyweight 5 reports · 9 source threads

    “I've also self hosted Keycloak and use mod_auth_openidc to simplify it, but it was quite annoying to setup”

  2. Difficult high-availability and scalable deployments 3 reports · 3 source threads

    An engineer deploying Keycloak at scale for a large organization on AWS ECS had great difficulty getting it to cluster, with DNS and cluster discovery problems. Hacker News, 2024-02 ↗

  3. Must build an optimized image or face long startup in containers 2 source threads

    “they want you to create an "optimized" image yourself and have a long setup process on startup otherwise is slightly annoying”

CompareSubmit feedback

Work at Keycloak? Claim this page to reply to reports and run a public board, roadmap and changelog, free.

Add a Friction badge to your README or docs: copy it here Report a problem or request a feature for Keycloak

Add this to your README or docs

Docs or README footer: sends readers to give feedback on Keycloak

Report a problem or request a feature for Keycloak

Show the code
[![Report a problem or request a feature for Keycloak](https://friction.grain64.com/badge/keycloak.svg?form=cta)](https://friction.grain64.com/p/keycloak/submit/?utm_source=badge&utm_medium=embed&utm_content=cta)
<a href="https://friction.grain64.com/p/keycloak/submit/?utm_source=badge&utm_medium=embed&utm_content=cta"><img src="https://friction.grain64.com/badge/keycloak.svg?form=cta" alt="Report a problem or request a feature for Keycloak" height="20"></a>

For researchers and write-ups: the live count for Keycloak

Keycloak user feedback on Friction

Show the code
[![Keycloak user feedback on Friction](https://friction.grain64.com/badge/keycloak.svg)](https://friction.grain64.com/p/keycloak/?utm_source=badge&utm_medium=embed&utm_content=reports)
<a href="https://friction.grain64.com/p/keycloak/?utm_source=badge&utm_medium=embed&utm_content=reports"><img src="https://friction.grain64.com/badge/keycloak.svg" alt="Keycloak user feedback on Friction" height="20"></a>

Recurrence: Emerging (3 recurring themes, all years)

Pain points 3 recurring themes · 15 reports

ReportAreaSeveritySupportLast seen
Keycloak feels overly complex and heavyweight

Users find Keycloak's configuration complex and resource-intensive, and consider it excessive for smaller deployments.

5 reports · 9 source threads · 2021 to 2026 · Annoyance · Setup & onboarding

Setting up Keycloak requires hard-won knowledge that is slow to acquire

The commenter says Keycloak can do anything, but learning how to configure it takes a lot of time and the knowledge is not easy to pick up.

Setup & onboardingAnnoyance5 sources2026-08

“there's a lot of knowledge of how to set things up that takes time and is not readily acquired”

“it was annoying to setup but worked okay in practice”

Keycloak realm configuration is complex and RAM-hungry PerformanceAnnoyance2 sources2025-06
Keycloak seems overkill for small private deployments Setup & onboardingAnnoyance1 source2026-02
Keycloak UI and data model add avoidable difficulty UI & usabilityAnnoyance1 source2025-11
Keycloak seen as bloated, overly complex and regretted Reliability & bugsAnnoyance1 source2023-06
Difficult high-availability and scalable deployments

Users struggle to run Keycloak reliably at scale, cluster it, or deploy updates without downtime.

3 reports · 3 source threads · 2023 to 2026 · Blocks work · Self-hosting & upgrades

Keycloak clustering on AWS ECS was a prolonged struggle

An engineer deploying Keycloak at scale for a large organization on AWS ECS had great difficulty getting it to cluster, with DNS and cluster discovery problems.

Affects: Enterprise platform engineer on AWS ECS

Self-hosting & upgradesBlocks work1 source2024-02

“it was unholy war for 1,000 years getting it to cluster properly”

Keycloak hard to run both stable and scalable in production Reliability & bugsAnnoyance1 source2026-08
No zero-downtime deployment in Keycloak Self-hosting & upgradesBlocks work1 source2023-05
Deleting a user sends no backchannel logout to clients Permissions & securityBlocks work1 source2025-03
Disabling a user leaves their sessions active

When an admin disables a user, the user's active sessions remain open and no logout is triggered.

Affects: Admins disabling users

Permissions & securityBlocks work1 source2025-03

“When an admin disables a user (e.g., via the admin console), the user's active sessions remain open”

Must build an optimized image or face long startup in containers

Keycloak's container docs push users to build their own optimized image, otherwise startup involves a long setup process, which the commenter finds annoying.

Affects: Self-hoster using Docker

Self-hosting & upgradesBlocks work2 sources2024-02

“I really don't want to maintain a CI Pipeline to deploy it .. but you're kinda forced to with how they've designed their docker image”

“they want you to create an "optimized" image yourself and have a long setup process on startup otherwise is slightly annoying”

Requests drop between Apache and Keycloak until connection settings are changed

With Keycloak behind Apache as reverse proxy, requests randomly dropped and the user had to change obscure connection pooling or keep-alive settings.

Affects: Self-hoster using Apache

Self-hosting & upgradesBlocks work2 sources2024-04

“if you have Keycloak running behind Apache as a reverse proxy, I've had requests between those two randomly drop”

“sometimes acts in stupid ways behind a reverse proxy”

notEmail policy checks the username instead of the email Reliability & bugsBlocks work1 source2026-09
Successful SAML login does not reset brute-force failures IntegrationsBlocks work1 source2026-09
Selecting Groups or Organizations crashes permission evaluation UI & usabilityBlocks work1 source2026-09
Token exchange drops requested scopes since Keycloak 24 Reliability & bugsBlocks work1 source2024-05
Organization group roles are missing from standard token claims IntegrationsAnnoyance1 source2026-09
Insufficient product and SPI documentation

Users struggle to maintain Keycloak or extend it because product guidance and SPI documentation are inadequate.

2 reports · 3 source threads · 2020 to 2021 · Blocks work · Documentation

Keycloak SPIs poorly or not documented, forcing code reading DocumentationBlocks work2 sources2021-01
Keycloak maintenance hindered by weak documentation DocumentationAnnoyance1 source2020-07
Admin API ignores user ID supplied on user creation API & developer experienceBlocks work2 sources2022-07
SAML IdP-initiated login fails with cookie_not_found IntegrationsBlocks work1 source2023-05
Realm JSON import has unreadable structure and cannot maintain realm Data export & migrationBlocks work1 source2023-04
Valid refresh token randomly rejected with 400 Reliability & bugsBlocks work1 source2022-08
Cannot create users without first and last name CustomizationBlocks work1 source2022-05
Impersonation broken when admin hostname differs from realm hostname Reliability & bugsBlocks work1 source2022-03
Authentication flow steps skipped after external IdP login Permissions & securityBlocks work1 source2022-02
Default Content Security Policy is too permissive Permissions & securityAnnoyance1 source2023-01
WebAuthn-first factor ordering still pushes users to a switch-method button UI & usabilityAnnoyance1 source2022-04
LDAP user rename deletes and recreates the Keycloak account Reliability & bugsAnnoyance1 source2020-04

Feature requests no recurring themes yet · 2 reports

ReportAreaSeveritySupportLast seen
Ability to set order of credential types in auth flows

In an identifier-first flow, the password authenticator always runs before the passwordless WebAuthn one, forcing users to pick another way to use passkeys.

Affects: Admins building passwordless flows

CustomizationAnnoyance2 sources2023-12

“but there seems to be no way to cancel/deny the passkey option”

“However the password authenticator is always executed first, as can be seen in the demo”

Add guidance on database proxies for Keycloak

The author requests official documentation explaining when database proxies such as PgBouncer and RDS Proxy are appropriate, required configuration changes, and known limitations. Proxy-related trade-offs and configuration pitfalls are described as hard to diagnose.

Affects: Teams deploying Keycloak with PostgreSQL database proxies

DocumentationAnnoyance1 source2026-10

“This enhancement requests official documentation covering when database proxies are appropriate, required configuration adjustments, and known limitations”

GitOps-style declarative configuration for Keycloak realms

The commenter wants Keycloak to read a config file at startup and create/update/delete resources accordingly, and dislikes the Terraform plugin because of state.

Affects: Teams running Keycloak on Kubernetes

API & developer experienceAnnoyance2 sources2023-06

“an official solution for configuration management other than the K8s operator which is missing a lot of features”

“I miss the ability to use some kind of GitOps with Keycloak”

Clone a realm from the admin interface

Partial export and import into a new realm fails on duplicate keys, so an admin needing 25 near-identical realms without command-line access wants a clone function.

Affects: Admins without command-line access managing many similar realms

Data export & migrationBlocks work1 source2023-11

“The ability to clone a realm to a new realm would be a huge time saver”

Allow groups to have multiple parent groups

Active Directory group structures often have several parents, which breaks LDAP sync when group inheritance is preserved.

Affects: Teams syncing Active Directory via LDAP

IntegrationsBlocks work1 source2022-04

“Keycloak should support multiple parent groups on groups and users”

Easier way to build custom login and registration UI CustomizationAnnoyance1 source2023-06
SCIM support for user provisioning IntegrationsAnnoyance1 source2022-08
Automatically disable dormant user accounts Permissions & securityAnnoyance1 source2022-05
Read secrets such as DB password from files Self-hosting & upgradesAnnoyance1 source2022-03
Expose role attributes as OIDC claims without script mapper CustomizationAnnoyance1 source2022-02
Trusted device option to skip 2FA for 30 days Permissions & securityAnnoyance1 source2021-11
Support for non-SQL datastores such as DynamoDB Self-hosting & upgradesAnnoyance1 source2020-04

Workarounds no recurring themes yet · 3 reports

ReportAreaSeveritySupportLast seen
Long Keycloak startup times unless an optimized image is built

A self-hoster says startup is annoyingly long unless you build the optimized image, which was a pain point until done.

Affects: Self-hoster

Self-hosting & upgradesAnnoyance1 source2024-02

“most likely you really want to build the "optimized" image, because otherwise the startup times will be annoyingly long”

Keycloak behind Apache reverse proxy breaks connections without tuning

Behind a reverse proxy Keycloak connections sometimes break; the user had to add proxy settings disabling pooling and keep-alive to stabilize it.

Affects: Self-hoster using Apache as reverse proxy

Self-hosting & upgradesAnnoyance1 source2024-02

“Keycloak is known to be a bit odd in how it sometimes works behind a reverse proxy”

Login state not shared across Keycloak nodes forces sticky sessions

Stateful login on one server was missing on others, so plain load balancing did not work and sticky sessions were the only option.

Affects: Enterprise platform engineer

Self-hosting & upgradesAnnoyance1 source2024-02

“Stateful login on one server was missing from the others so dumb load balancing was off the table”

Disabling group inheritance preserves sync but loses AD structure

Turning off Preserve Group Inheritance avoids the LDAP sync failure but loses the whole Active Directory group structure inside Keycloak.

Affects: Teams syncing Active Directory via LDAP

IntegrationsBlocks work1 source2022-04

“Disabling this switch results in losing the whole AD structure within Keycloak”

Customizing CSP requires overriding the whole header

The only way to tune CSP today is to completely override the header, which weakens it across all Keycloak endpoints.

Permissions & securityAnnoyance1 source2023-01

“Currently this is done by completely overriding the header, but this is not great as it results in a less secure CSP header”

Switching reasons 1 older report only

ReportAreaSeveritySupportLast seen
Built own auth server after missing Keycloak flow features

The commenter built their own auth server after tiring of Keycloak quirks, including missing common functionality such as accepting terms before profile creation.

Affects: Product developer

CustomizationBlocks work1 source2023-05

“some missing functionality that needs to be implemented very often, like "Accept ToS before profile is created”

Industry and security news 2 reports

Breaches, disclosures, lawsuits and press about Keycloak. Not a customer's own problem, so it is kept out of the problem counts and the free five.

ReportAreaSeveritySupportLast seen
Update API leaks whether a username exists Permissions & securityIndustry/security news1 source2026-10
2FA bypass took ten months to be fixed Permissions & securityIndustry/security news1 source2024-11

Fixed upstream 22 reports

What Keycloak's own maintainers have already closed as done, and when. It is no opening to pitch against: the problem is gone from the current product. It shows where Keycloak has been catching up, and what is worth skipping.

ReportAreaSeveritySupportLast seen
YubiKey registration fails with cross-platform attachment policy Resolved 2026-10 Reliability & bugsBlocks work1 source2026-10
SAML IdP-initiated logout fails when logout service URL is empty Resolved 2026-09 IntegrationsBlocks work1 source2026-09
Some users cannot log in after an identity provider is recreated Resolved 2026-09 Reliability & bugsBlocks work1 source2026-09
view-users no longer shows realm role mappings Resolved 2026-09 Permissions & securityBlocks work1 source2026-09
Malformed organization login domain triggers an authentication error page Resolved 2026-09 Reliability & bugsBlocks work1 source2026-09
Upgrade migration crashes on lazily loaded realm components Resolved 2026-09 Self-hosting & upgradesBlocks work1 source2026-09
Password denylist can be bypassed under Turkish locale Resolved 2026-09 Reliability & bugsBlocks work1 source2026-09
Malformed group URL crashes the admin console Resolved 2026-09 UI & usabilityBlocks work1 source2026-09
Helm chart for the Keycloak operator Resolved 2026-08 Self-hosting & upgradesAnnoyance1 source2025-02
Allow customizing CORS Access-Control-Allow-Headers Resolved 2025-11 API & developer experienceBlocks work1 source2022-06
External IdP tokens not refreshed when retrieved Resolved 2025-07 IntegrationsBlocks work1 source2022-09
Multi-stage Docker builds fail --optimized validation after upgrade Resolved 2025-04 Self-hosting & upgradesBlocks work1 source2025-04
Multiple email domains per linked IdP in organizations Resolved 2025-04 IntegrationsAnnoyance1 source2024-10
SMTP OAuth 2.0 authentication for outgoing email Resolved 2025-03 IntegrationsAnnoyance1 source2023-03
Built-in metrics for operations teams Resolved 2025-02 Reporting & analyticsAnnoyance1 source2021-12
start-dev fails on fresh download with a database exception Resolved 2024-06 Setup & onboardingBlocks work1 source2024-01
Refresh token rotation breaks with multiple browser tabs Resolved 2024-06 Reliability & bugsBlocks work1 source2022-08
Admin API user PUT now clears name and email fields Resolved 2024-05 API & developer experienceBlocks work1 source2024-03
New admin console fails to load under some hostname setups Resolved 2024-04 Reliability & bugsBlocks work1 source2022-09
Custom identity providers cannot be configured in new admin console Resolved 2023-06 CustomizationBlocks work1 source2022-11
Cannot install packages in Keycloak container since version 21 Resolved 2023-03 Self-hosting & upgradesBlocks work1 source2023-02
Restore realm import on startup via environment variable Resolved 2022-03 Data export & migrationBlocks work1 source2022-02

Sources: GitHub and Hacker News; 65 public source threads, 2020 to 2026, each linked. How the data is built · Download the 16 open Keycloak reports as CSV