Admins using a separate admin hostname can't impersonate a user and land in a working session on the realm's domain.
Keycloak administrators using a separate admin hostname
Where it stands
- Sourced (done)
- Kit (done)
- Wanted (next)
- Building
- Solved
How this problem came to be
- Found1 sourcegithub.com/keycloak
- Quoted4 claimseach checked against its page
- BriefWrittenand what solved looks like
- Market1 signals93 reactions on the issue
- Kit6 steps20 tools · 6 routes
- People0 want0 live it · 0 would test
The problem, broken down
- Who it hurts
- Keycloak administrators whose admin console hostname differs from the realm hostname
- The moment
- After clicking Impersonate, the session is created on the admin hostname and is unusable on the realm hostname.
- What people do today
- Some users work around it by removing the realm frontend URL, forcing HTTPS on port 8443 at the load balancer, or exposing the admin console on a private address so impersonation runs over the private IP.
- Why it's unsolved
- The impersonation request sets session cookies on the admin hostname, and a cookie set by that response cannot cross to a different domain.
- What solved looks like
- An admin clicks Impersonate with a separate admin hostname configured, and the user ends up in a working session on the realm hostname.
Evidence lens
Every claim points at the quote it rests onSources
Claims
Builders still need to know
- Do administrators with separate realm domains, not just separate admin hostnames, hit the same failure in current versions?
- Would sharing cookies across subdomains be acceptable to security teams, given the subdomain takeover risk raised in the thread?
- How many affected deployments use a shared parent domain, and how many use fully different domains?
Drafted with claude-haiku-5-5 from the cited source and published automatically. Every quote was checked against the source.
Sources
From a public page with a citation.
What the source says, in short
After clicking Impersonate, the session is created on the admin hostname and is unusable on the realm hostname. Some users work around it by removing the realm frontend URL, forcing HTTPS on port 8443 at the load balancer, or exposing the admin console on a private address so impersonation runs over the private IP. The impersonation request sets session cookies on the admin hostname, and a cookie set by that response cannot cross to a different domain.
Forks 0
Nobody has forked this yet. Be the first.
Market read
How big this is, from the evidence
- GitHub ↗Builders' pull · Medium confidence93 reactions on the issue
How these were measured: Total reactions on the GitHub issue, read from its API.
For whoever takes this up
The builder's path for this problem
A path written for this problem: its open questions, who to talk to, its data and its ideas, with tools for each stage and a starter prompt ready to paste into any assistant.
Open the pathDiscussion 0
No comments yet.