Getting CORS error while accessing Okta Group API from angular code on http://localhost:4200

Hi,

I am getting CORS error while accessing Okta Group API from angular code on http://localhost:4200

I have configured trusted origins in okta as below:

and below are the API call details:

Am I missing anything here?

Hello khansubhan88!

It looks like in your Request URL you have “-admin” as part of it, you’ll need to remove that to call the /users API and retrieve groups. Give that a try and let me know if that helps!

2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.