Single Logout
Single Logout (SLO) is a feature in federated authentication that lets a user end multiple active sessions with a single logout action, rather than signing out of each application separately. In most deployments it is the counterpart to single sign-on: where SSO establishes sessions across multiple applications from one sign-in, SLO attempts to terminate those sessions together. The user experience is intended to be a single action that logs them out of the identity provider session and connected applications.
Single Logout (SLO) is a session-termination capability in federated authentication that propagates a logout request across the identity provider and the relying parties or service providers that share sessions established through single sign-on. In SAML 2.0, SLO is defined by the Single Logout Protocol, in which a logout can be initiated by an IdP or SP and logout messages are exchanged to invalidate the participating sessions; an OASIS extension, the SAML V2.0 Asynchronous Single Logout Profile Extension, allows the initiator to indicate that it does not expect a response. SLO addresses session lifecycle at logout time and is distinct from the identification and authentication steps that establish sessions; note that its scope covers session termination signaling and not authorization decisions. Behavior varies by deployment and vendor: for example, when multiple sessions are present an IdP may require session selection, and depending on configuration and profile (front-channel vs. back-channel binding), not all participating relying parties are guaranteed to receive or honor the logout, so complete termination across every session cannot be assumed in all deployments. The exact bindings, message flows, and whether logout is best-effort or acknowledged depend on the standard profile and product implementation in use.
Why it matters
Single Sign-On solves the friction of authenticating to many applications from one sign-in, but it also creates a hidden liability: once a user has active sessions across multiple relying parties, closing a browser tab or logging out of a single application does not necessarily end the others. Single Logout (SLO) exists to close that gap by propagating a logout request across the identity provider and the participating relying parties, so that a single logout action attempts to terminate the sessions that SSO established together. Without a working SLO flow, sessions can persist on applications the user believes they have left, which is particularly consequential on shared or kiosk devices and in high-assurance environments.
The practical challenge is that SLO is harder to guarantee than SSO. Depending on the standard profile and binding in use, for example front-channel versus back-channel in SAML 2.0, and on how each relying party is configured, not all participants are guaranteed to receive or honor the logout message. This means SLO is often best-effort rather than a hard guarantee of complete termination across every session. Security architects should treat 'the user clicked logout' and 'every session was actually invalidated' as distinct outcomes, and design and test accordingly rather than assuming a single logout action fully closes the federation.
Who it's relevant to
Inside SLO
Common questions
Answers to the questions practitioners most commonly ask about SLO.
