Logout (RP-Initiated)
GET /oauth/oidc/session/logout
Initiate RP-initiated logout. Expires the user's session and optionally redirects to a post-logout URI.
Parameters
| Name | In | Required | Description |
|---|---|---|---|
id_token_hint |
query | no | The ID token previously issued to the RP. Used to identify the session to terminate. |
post_logout_redirect_uri |
query | no | URI to redirect the user to after logout. Must be a registered redirect URI. |
client_id |
query | no | OIDC Client ID. |
session_state |
query | no | Session state value. |
Responses
| Status | Description |
|---|---|
302 Found | Redirect to post-logout URI or default logout confirmation page. |
Example request
curl --request GET \
--url https://sandbox.truevault.com.au/oauth/oidc/session/logout