ABP 401 response from API instead of redirect
问题 I have the same problem as this: https://forum.aspnetboilerplate.com/viewtopic.php?f=5&t=4865, but I have ABP v2.1 with module-zero-core-template. I'm using Web.Mvc project as my startup project and I want to make API calls. When I perform an unauthorized request to the API, I got a "200 OK" response instead of a "401". Where did I make a mistake? 回答1: ASP.NET Core 1.x ABP v2.x / module-zero-core-template v2.x Modify IdentityRegistrar in .Core project: // Before services.AddAbpIdentity<Tenant