---
originalPath: .tmp-workos-clone/packages/docs/content/reference/sso/logout/index.mdx
---

# Logout

The Logout endpoints enable the RP-initiated logout functionality for users in your application.
Refer to [Single Logout](/sso/single-logout/idp-initiated-logout) section for more details on how to handle
RP-initiated or IdP-initiated logout.

> Please note that the Logout feature is only available for Custom Open ID connections that provide
> specific logout features. These features include the presence of the `revocation_endpoint` and `end_session_endpoint`
> in the discovery document.
