2

Situation
For my web application, I have set up a keycloak (v18.0.0) realm with an external SAML IDP. After successfully logging in, the application is using its own cookies (I can't change this since this is an external piece of software) and has a logout endpoint to destroy those cookies when visited through the browser.

In the corresponding client configuration, I set a front-channel logout URI to be called by the browser whenever a logout is triggered from the IDP. enter image description here

Problem
When triggering the single sign-out from keycloak itself using this "https://baseurl/realms/my-realm/protocol/openid-connect/logout"`, keycloak successfully logs out from the IDP and destroys its own cookies but does not redirect to the front-channel logout URI, which leaves the app in a logged-in state. I tested this without an IDP enabled and it logged me out from my app.

Question
How can I force keycloak to trigger the front-channel logout URI on a single sign-out request?

Theo
  • 2,262
  • 3
  • 23
  • 49

0 Answers0