
RahulJ.68303 (Customer) asked a question.
Hi Team,
I am working on the OKTA SAML configuration and implementation in Web API side. While my application is launching from parent application with parameter then the angular component is called which is passing to the web API Authentication controller for SAML SSO login then SAML do the configuration binding and create a SAML request for authentication. But, before redirecting to OKTA I got an error like "Access to XMLHttpRequest at "OKTA SAML request URL" (redirected from web API) from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."
Kindly help on this.

Hi Rahul,
I hope you are doing great,
This is Andres, Okta Support Engineer. After checking your request we will need to do some tests and go deeper on this issue to get the best resolution for you. Because of this I recommend you to open up a ticket with us so we can go through all the details.
Here is how you can open a ticket https://support.okta.com/help/s/article/How-to-Create-a-Support-Case?language=en_US.
Thanks in advanced.
Hi Andres,
Thanks for the feedback!
I raised a ticket (01133769) and provided the all details with error attachment.
If any information is needed, Please let me know.
Please provide the suitable and correct solution.
Thanks,
Rahul Jadhav