on-internet
← Community

Windows Integrated Authentication fails in Visual Studio full stack api with vite proxy

Stack Overflow ·

I'm trying to get Windows Integrated Authentication to work with the WeatherForecast Visual Studio asp.net api and react front end full stack project template. 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 respon

Comments

Sign in or sign up to comment and upvote.

No comments yet.