oAuth2

Get OAuth 2.0 Session Logout Request

Changed on

Use this endpoint to fetch an Ory OAuth 2.0 logout request.

get/admin/oauth2/auth/requests/logout

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /admin/oauth2/auth/requests/logout
  • Auth
    none declared

Query parameters

logout_challengestring required

Response

oAuth2LogoutRequest

challengestring

Challenge is used to retrieve/accept/deny the logout request.

expires_atstring date-time
request_urlstring

RequestURL is the original Logout URL requested.

requested_atstring date-time
rp_initiatedboolean

RPInitiated is set to true if the request was initiated by a Relying Party (RP), also known as an OAuth 2.0 Client.

sidstring

SessionID is the login session ID that was requested to log out.

subjectstring

Subject is the user for whom the logout was requested.

Example response

{
  "client": {
    "scope": "scope1 scope-2 scope.3 scope:4"
  }
}

Changes