How to authorize CORS preflight request on IIS with Windows Authentication

后端 未结 3 631
逝去的感伤
逝去的感伤 2020-12-21 02:33

I have an API on ASP.net Core 2 (windows authentication) and a front on angular. I make a cors configuration to querying my backend from the SPA angular, but im blocked in

3条回答
  •  無奈伤痛
    2020-12-21 03:07

    Preflight request does not send authentication information. So, enable anonymous authentication as well (no need to remove windows authentication). refer to https://stackoverflow.com/a/50354772/946773

提交回复
热议问题