I need the external users of my web application who click on LOGOUT to stay logged out. What happens right now is, for both external and internal users, the user is automatically logged in back when log out is clicked.
So to address this, I am trying to delete user’s session from Okta when the user clicks on log out by calling this api: https://mydomain.okta.com/api/v1/sessions/me (VERB: DELETE)
But when I do that, I get a 404 resource not found error with the following payload:
{
“errorCode”: “E0000007”,
“errorSummary”: “Not found: Resource not found: me (Session)”,
“errorLink”: “E0000007”,
“errorId”: “oaeLszYXFduS5u_-vwJ9w0EoQ”,
“errorCauses”:
}
This sounds like a bug?