CORS Error, .NET 7 and ReactJS

The thing is that error occur when server process auth validation, I might be wrong