Cross origin issue

Hello i am working with Angular 5 and okta, I am facing cross origine issue from my local
I have configured my local baseurl “http://localhost:4200/” as allow origin
but still get
has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
please help me if any solution

what is the request which fails?

All Okta api request for example .


this one is not CORS enabled. You can only call those APIs which are tagged as “CORS” in the documentation