yes, it works well. So I am able to test from the URL that is being blocked by the CORS error. I just don’t understand the CORS error since I have localhost as a trusted origin.
CORS can be cause by incorrect URL, unsupported method and other things also, hence the question I asked. I guess you will have to figure what is different between your original request, and the one which fails
Well, usually SAML works by redirecting users to IdP, rather than doing background requests. Does it work for you if you go this route?
As I mentioned, there might be many different things involved into CORS error. It’s not only about adding localhost into trusted origins, so you can spend a lot of time trying to find a difference in your request from browser and async (maybe some headers or cookies are missed)
Thanks for your patience. This is a nodejs application. The front-end and back-end are separated. The front-end just has a login box. Using axios I call the nodejs backend, which in turn, redirects to Okta. The user logs in to Okta. It comes back to the back-end and is passed to the front-end.