Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Keycloak SAML IDP integration Logout issue

412 views
Skip to first unread message

Dwaipayan Bhattacharya

unread,
Jan 4, 2023, 12:22:34 AM1/4/23
to Keycloak User
I am using Keycloak as service provider and done the SAML based integration with the external IdP.
The login functionality works fine: For login the Idp login screen comes up. On successful login it gets redirected to the keycloak as expected.
Logout issue: But whenever I do a successful logout from the application it gets logout from the idp , but session is maintained in the keycloak side. Logout doesn't happen from keycloak. 
Is there any setting that I need to enable in the keycloak side so that the logout happens from keycloak too along with the external IdP.
attached screenshots.

Thanks in Advance,
 Dwaipayan
keycloak identity provider setting 1.JPG
keycloak identity provider setting 2.JPG

Edmilson Santana

unread,
Jan 19, 2023, 3:08:12 PM1/19/23
to Keycloak User
Did you try to enable the backchannel logout?

Björn Pedersen

unread,
Jan 23, 2023, 3:58:46 AM1/23/23
to Keycloak User
If the external provider is configured to logout (the external provider is making a call to the logout endpoint), then you need to configure the external provider to not do it. Or you need to work with offline tokens.

 
Thanks in Advance,
 Dwaipayan

Aurunisbi Aldino Aulia

unread,
Dec 3, 2024, 3:30:50 AM12/3/24
to Keycloak User
Hi, Have you resolved this issue ? cause im facing the same. I even can't logout both session. 
could u please give me the points?
Reply all
Reply to author
Forward
0 new messages