I’ve got an API defined in Okta Workflows, and was planning on calling it from a SPA and passing in an Authorization Bearer {JWT created by a PKCE flow} to authenticate, but apparently the CORS response will not allow an authorization header?
Yes, I’ve got my origin defined in the Security/API/Trusted Origins tab. The error is not that I’m not getting an Origin header, It’s returning :
Read my original request again:
Yes, I’ve got my origin defined in the Security/API/Trusted Origins tab. The error is not that I’m not getting an Origin header
It’s not responding properly to the Access-Control-Request-Headers.
Can you take a look at this thread, where I recommended having an HTTP Close card in your flow to ensure that even if your flow takes more than 60 seconds to complete, that you are responding back to Okta before the connection times out.