Authentication in .NET Web API using MVC FormsAuthentication
问题 We have a single page application using the AngularJS framework that needs to talk to a API implemented in .NET Web API on a different domain. The problem The API is implemented in .NET Web API. To authenticate a user for access to our API we implemented the MVC Single Page Application template. This uses FormsAuthentication to grant acccess to the API. We used Fiddler to debug. When we visited a controller on the API that required authentication directly in the browser we could confirm that