Single Logout (SLO)
How does SAML single logout end sessions across service providers?
SAML 2.0 Single Logout Profile terminates sessions across all federated participants - the IdP and every SP with an active session for the user (saml-profiles §4.4). When a user logs out at one participant, LogoutRequest messages are propagated to all other participants to ensure global session termination. SLO uses either front-channel (HTTP-Redirect/POST via browser) or back-channel (SOAP direct communication) bindings.
XML-BasedFederated Logout
Sequence Diagram
Click any step for details
Request
Response
Redirect
Internal
Step-by-Step Breakdown
1
User Initiates Logout
User → Initiating Party
2
Create LogoutRequest
Initiating Party → Initiating Party
3
LogoutRequest Sent to IdP
Service Provider → Identity Provider
4
IdP Propagates Logout to All SPs
Identity Provider → Other Service Providers
5
SPs Terminate Sessions and Respond
Service Providers → Identity Provider
6
IdP Terminates Own Session
Identity Provider → Identity Provider
7
Final LogoutResponse to Initiating SP
Identity Provider → Initiating Service Provider
8
Logout Complete
Service Provider → User
Token Inspector
Specs for this flow
Sections of the protocol that normatively define this flow, plus the security considerations that apply to it.