Keycloak 16.1.0 - Impersonation NOT working using REST API

625 views
Skip to first unread message

Naveen Amruth

unread,
Jan 31, 2022, 4:34:35 PM1/31/22
to Keycloak User
Hello Team,

I have very serious problem - Please help me out on this.

I need to provide the impersonate functionality outside of Keycloak Admin Console, the very similar to Impersonate button. What I am doing is calling Keycloak REST API for

obtaining the access_token, (auth/realms/master/protocol/openid-connect/token)
which is then parsed into another call to impersonate user admin/realms/{realm}/users/{id}/impersonation .
The second call is returning redirect link with boolean and in the headers there are, besides others, KEYCLOAK_SESSION and KEYCLOAK_IDENTITY cookies.

From here on post redirect to Login Page - The Keycloak Impersonation session is NOT creating instead it is just seating in Login Page



I posted my problem in below Links - Please help me out if anyone encounter same issue and resolved with some fix.

Reply all
Reply to author
Forward
0 new messages