Angular 5: Post-request & windows authentication
问题 I need windows authentication in my project, but post-request is broken. I have a global implementation of HttpInterceptor. Cors enabled in my backend. services.AddCors(options => options.AddPolicy("AllowAllOrigin", builder => builder.AllowAnyOrigin().AllowAnyMethod().AllowAnyHeader().AllowCredentials())) When i send get-request i retrieve user identity in backend and it's alright. What's wrong with post-request? OPTIONS http://localhost:56789/api/document/GetDocuments 401 (Unauthorized)