End session redirect
Redirects the user to a page where they can log out and revoke the oauth tokens
GET
/{apiBasePath}/oauth/end_sessionPath parameters
apiBasePathstringrequiredIts value depends on the apiBasePath set by the user
Query parameters
id_token_hintstringclient_idstringpost_logout_redirect_uristringResponses
200A general error response
statusstringError status code
Allowed:
GENERAL_ERRORmessagestringError message
302Redirects the user to the logout page or back to the client app
400OAuth2 specific error response
errorstringThe OAuth2 error code
error_descriptionstringHuman readable error description
404Resource not found error
string500Internal server error
stringTry it
Server
Parameters
Request
curl -X GET "/auth/oauth/end_session"const response = await fetch("/auth/oauth/end_session", {
method: "GET"
});import requests
response = requests.get(
"/auth/oauth/end_session",
)Response
{
"status": "GENERAL_ERROR",
"message": "string"
}Redirects the user to the logout page or back to the client app
{
"error": "invalid_request",
"error_description": "Unsupported grant type: password"
}"Not Found""Internal Error"