# SAML Logout to Keycloak (From Shibboleth SP Client)

**URL:** <https://forum.keycloak.org/t/saml-logout-to-keycloak-from-shibboleth-sp-client/9745>\
**Category:** Getting advice\
**Tags:** saml\
**Created:** [June 23, 2021, 9:38pm UTC](https://forum.keycloak.org/t/saml-logout-to-keycloak-from-shibboleth-sp-client/9745 "2021-06-23T21:38:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![melancholia](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@melancholia](https://forum.keycloak.org/u/melancholia)\
**Post date:** [June 23, 2021, 9:38pm UTC](https://forum.keycloak.org/t/saml-logout-to-keycloak-from-shibboleth-sp-client/9745/1 "2021-06-23T21:38:29Z")

</div>

I’m trying to initiate a logout from a SAML client (Shibboleth SP) to keycloak.

For the logout to Keycloak – will be a straight HTTP POST to:  
https://\<keycloak\_host\>/auth/realms/\<realm\_name\>/protocol/saml

Thanks.

---

<div class="post-metadata">

**Author:** ![jangaraj](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/jangaraj/32/5175_2.png) [@jangaraj](https://forum.keycloak.org/u/jangaraj)\
**Post date:** [June 25, 2021, 8:17am UTC](https://forum.keycloak.org/t/saml-logout-to-keycloak-from-shibboleth-sp-client/9745/2 "2021-06-25T08:17:04Z")

</div>

You need to enable/configure Shibboleth SP for logout: [Logout - Service Provider 3 - Shibboleth Wiki](https://wiki.shibboleth.net/confluence/display/SP3/Logout)

And of course then you have to call that configured logout, e.g. recommended `/Logout`
