Windows integrated authentication fails in ASP.NET Core Web API with vite proxy
I'm trying to get Windows integrated authentication to work with the WeatherForecast in Visual Studio project template using ASP.NET Core Web API and React frontend. The API is running on Kestrel on https://localhost:7094. I am able to hit https://localhost:7094/weatherforecast directly with a web browser and see the HttpContext.User successfully. The React frontend is on https://localhost:50083. Without authentication enabled on the backend, I can hit https://localhost:50083/weatherforecast successfully and get the JSON response. However, with authentication enabled on the backend, I get 400
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.