--- title: Logout \(LogoutRequest\) process flow description: During logout, the instance issues the SAML 2.0 LogoutRequest service call to the IdP. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-security/authentication/c\_LogoutLogoutRequestProcessFlow.html release: australia product: Authentication classification: authentication topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [SAML 2.0 concepts, SAML, Multi-Provider single sign-on \(SSO\), Authentication, Access Management] --- # Logout \(LogoutRequest\) process flow During logout, the instance issues the SAML 2.0 LogoutRequest service call to the IdP. This service logs the user out and then redirects back to the specified logout URL. \[Omitted image "Saml2Logout.png"\] Alt text: ## User Clicks the Logout Button The user clicks the **Logout** button and the instance executes the logout script. ## LogoutRequest issued The logout script constructs a SAML 2.0 `LogoutRequest` and posts it to the preconfigured SingleLogoutRequest SAML 2.0 service at the IdP. The IdP deflates the request and then base64 encodes it. An example `LogoutRequest` looks like this: ``` https://dloomac.service-now.com david.loo@service-now.coms211b2f811485b2a1d2cc4db2b271933c286771104 ``` ## User Logs Out The user logs out of the IdP. The IdP redirects back to the instance, which in turns redirects back to the IdP since the user is not logged in.