Replies: 2 comments 2 replies
-
Update : So I have now : But for AUTH_SESSION_ID and AUTH_SESSION_ID_LEGACY, I found in documentation the format : <session-id>.<owner-node-id> |
Beta Was this translation helpful? Give feedback.
-
I think it is better to use the cookies response from the Keycloak than setting by yourself.
And use cookies get from the response for further requests |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm trying to test our keycloak provider. (keycloak 22.0.1)
So I tried your test container.
I included my target/classes.
Now : for our custom api call we used the keycloak cookies session.
But how found them in the keycloak container ?
I found :
Keycloak keycloakClient = keycloak.getKeycloakAdminClient();
AccessTokenResponse accessTokenResponse = keycloakClient.tokenManager().getAccessToken();
But I don't see cookies.
Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions