
vmwpt (vmwpt) asked a question.
I am getting CORS errors when I try to authenticate from a React App to a .NET service provider (SP) to an Okta identity provider (IDP). It authenticates perfectly when I just go through the .NET SP to the Okta IDP but when I incorporate the React App, it throws a CORS violation. How do I enable and configure CORS for my Okta IDP?
Thanks in advance!

Login to Okta Admin console then go to Security -> API -> Add your redirect URL under Trusted Origin to enable CORS
Note: Please mark my comment as Answered if this resolve your issue.
Hi Vipul,
I'm still getting CORS errors even though I've enabled CORS for my react app. See attached SS.
>