Repository navigation
Replies: 2 comments
|
I have pretty much the same question. I can get a session and tokens in my backend. Now, how can I set the cookies in the Keycloak domain and not show a login page to the user? |
0 replies
|
same question here.. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Keycloak version : 16.1.1
Frontend : @react-keycloak/web
I am trying to implement keycloak impersonation using the token-exchange feature. I am successful to invoke the token-exchange endpoint and I have got the response containing access-token for the user to be impersonated. However, to establish the user session in the frontend, I need the keycloak session cookies namely KEYCLOAK_IDENTITY_LEGACY, KEYCLOAK_SESSION_LEGACY, AUTH_SESSION_ID_LEGACY which are missing the token-exchange endpoint.
I have also implemented keycloak SPI to create a custom rest endpoint which is able to invoke the token-exchange endpoint.
How do I set the keycloak session cookies in the response of the custom rest endpoint?
All reactions