<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
0D51Y00009Qa8k7SABOkta Classic EngineIntegrationsAnswered2024-04-16T10:40:42.000Z2020-09-17T17:34:59.000Z2020-10-01T17:02:43.000Z

c1xrp (c1xrp) asked a question.

okta /userinfo keeps giving CORS error from the browser

Hi,

I'm trying to get the user information using the authorization token from the /userinfo endpoint, but everytime i get a CORS error. The request completes successfully, but i get 200 cors. Below is a screenshot of what i get:

https://i.ibb.co/J5fZYFn/okta1.png

 

I have enabled cors for my origin in the API section in my dashboard (and hence can correctly use the okta-sigin-widget in my react app) , but i still get CORS error.

 

I want to be able to call this API from the browser to get some user info.

 

Am i missing any steps here?

 

Thanks

 

 


This question is closed.
Loading
okta /userinfo keeps giving CORS error from the browser