CORS Enabled API

API Support

The Okta API supports CORS on an API by API basis. If you’re building an application that needs CORS, please check that the specific operation supports CORS for your use case. APIs that support CORS are marked with the following icon: CORS.

We are calling We are calling API: {{url}}/api/v1/users/{{USER_ID}}/sessions for logout.
IS this API CORS enabled? how to check if the OKTA API is CORS enabled or some one can confirm the Session API is cors enabled

Hi @subgeeth

The endpoint /api/v1/users/${userId}/sessions to delete a user’s session is unfortunately not CORS enabled.

As mentioned in the documentation, you can check the available CORS endpoints through the CORS icon, for example Get User.