<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
0D54z00008LS5bmCADOkta Classic EngineAPI Access ManagementAnswered2022-11-04T22:52:30.000Z2022-11-04T17:45:09.000Z2022-11-04T22:52:30.000Z

Getting CORS error while calling sessions api from Angular project

We are planning to call the session api okta.com/api/v1/sessions to set the cookie value but we are getting CORS error. I have added url as trusted origin and also setting up the header value as per the document.

/help/servlet/rtaImage?refid=0EM4z000004dqUv

 

There is similar question like this where it mentioned that we can't call api from angular project so I just want to make sure for SESSIONS API.


This question is closed.
Loading
Getting CORS error while calling sessions api from Angular project
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply