Hi,
I am trying to use Users Sessions api ( /api/v1/users/:uid/sessions) to clear all the sessions of user and revoke Oauth tokens at the same time.
The problem is that user’s sessions are destroyed but the Oauth tokens are not revoked.
This api is described here in the documentation:
The request headers are like this:
DELETE /api/v1/users/{uid}/sessions/?oauthTokens=true HTTP/1.1
Host: myorg.oktapreview.com
Accept: application/json
Content-Type: multipart/form-data;
Authorization: SSWS {apiKey}
Cache-Control: no-cache
Postman-Token: 4c331971-08bd-e696-c55f-835d3833d9fb
Do you guys have any idea about this?
Thanks a lot!