spring saml: How is LOGOUT handled? Is it mandatory to have logout endpoint in IDP metadata xml?

SM KUMAR picture SM KUMAR · Oct 14, 2014 · Viewed 10.5k times · Source

I am using Spring SAML implementation. SSO circle metadata xml was having logout endpoint which helps in local logout and global logout. But there are some other IDP's which I am interacting with and are not having logout endpoints in their metadata xml.

How should LOGOUT be handled in these scenarios?

Is deleting cookies of the request the only solution of this problem or is there any workaround for this scenario?

Your help in this regard is much appreciated.

Answer

Vladimír Schäfer picture Vladimír Schäfer · Oct 14, 2014

It is not mandatory for your IDPs to have a SingleLogout endpoint. You can perform local logout which cleans local cookies by calling /saml/logout?local=true. You can find all the details in the manual.