CORS Error, .NET 7 and ReactJS

yeah that’ll fix your frontend talking to your backend.

But there will be times where a user will call your backend and won’t be logged in, so you’d want to tell your front end, rather than start going off to auth.