Description
The logout process is a Single Sign-Out based on draft 01 of Token Revocation and serves to inform the OAuth server that no more private data of a user are going to be consulted. To put it another way, it says that the user has ended their session.
Endpoint URL
POST https://{your-endpoint-domain.com}/oauth2/revoke
Request parameters
Parameter | Description | Type |
token | he user’s refresh_token that is obtained in the authentication process. | string |
token_type | The value must be set to refresh_token | string |
client_id | Client identifier of your app obtained via cockpit panel. | string |
client_secret | Secret key of your app obtained via cockpit panel. | string |
cURL Request Example
Response
In the logout process, the OAuth server does not attach data in the response, so only the HTTP response code has to be interpreted.
Response Headers:
HTTP/1.1 204 OK