I have an endpoint. When I hit this endpoint with the correct credentials, it works and I get a 200 using postman. The endpoint is part of identity server - connect/token. The bad request is failing on the pre flight from the browser.
I'm seeing this error in the console.
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8100' is therefore not allowed access. The response had HTTP status code 400.
Seems to be a CORS issue. I have a c# asp.net core project.