CORS error on POST /token

Problem statement

React application doing authorization code doesn’t seem to send the /token request after receiving the authorization code. The HAR file shows response status code 0.

Cause

Potential cause can be a Sentry integration that is forging the authorize request.

Solution

Avoid the use of distributed tracing tools that get in the middle of the flow.