Unable to impersonate user on Red Hat build of Keycloak: "Error response Forbidden: jakarta.ws.rs.ForbiddenException: HTTP 403 Forbidden"
Issue
-
When trying to impersonate a user, the error 403 Forbidden is displayed
2025-05-22 08:55:06,176 DEBUG [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-9) Error response Forbidden: jakarta.ws.rs.ForbiddenException: HTTP 403 Forbidden at org.keycloak.services.managers.Auth.requireOneOf(Auth.java:92) at org.keycloak.services.resources.account.AccountRestService.account(AccountRestService.java:134)
Environment
- Red Hat build of Keycloak
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.