However, when I make a request with the AccessToken in the Authorization header CORS isn’t working. The OPTIONS call isn;t getting the Access-Control-Allowed-Origin header back. However when I remove the Authorization header, the OPTIONS request passes.
Not sure what is wrong. Any help would be appreciated.
CORS rules state that any sensitive data shouldn’t be sent with the request in pre-flight. So it will fail. You can set the option to “Allow Credentials” and it should work.