<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00006rsa8ACAQOkta Classic EngineOkta Integration NetworkAnswered2024-03-25T23:46:06.000Z2021-03-12T01:11:41.000Z2021-03-15T16:34:27.000Z

u6w04 (u6w04) asked a question.

CORS problem when hitting users API with SSWS

Hello!

 

We're having a CORS problem when hitting the users API (/users/me) from our localhost, we've added it to our CORS on the pannel and granted permission to okta.users.*.

 

I'm hitting the API with SSWS + Token as with Bearer it gets unauthorized.

 

Works fine with Postman.

 

Are we missing any configuration on the developer pannel?


  • User16115958272578339131 (Vendor Management)

    Based on the information you provided, can you please check if the localhost is configured with redirect and CORS enabled?

    In order to check that, you have to go Admin Dashboard => Security => API => Trusted origins, click on the edit button and check that under the field Type both CORS and Redirect are selected.

    Another question would be: are you using any of our SDKs?

    If my answer did not help; I suggest opening a new ticket with Okta Support and we will be more than happy to help you.

    Expand Post
This question is closed.
Loading
CORS problem when hitting users API with SSWS