CORS issue for IIS windows authentication

A

abbasshaikh1

I have .net core7 and angular 14. I had deploy both app on IIS on different port with windows authentication.In angular I use withcredentials:true.As I try to run POST method it give preflight CORS error. As preflight request execute without authentication. CORS error occur. So how to handle this. I require windows Auth to get current windows login user.If this is MS bug or any tricks to handle this ?Thanks in advance.

Continue reading...
 
Back
Top Bottom