Handling server redirect to Facebook login page in AngularJS
问题 I have an AngularJS app, and a WebApi2 with ASP.NET Identity 2.0. I am trying to log user in using Facebook account. I am using this answer to do it. Getting auth providers is easy, I have problem with the next step. It says, I should make GET request to my WebApi server, using the Url provided before. So I make my call and get a HTTP 302 with Location header set to facebook's login page. The browser doesn't redirect, however. In Developer Tools I see that GET request to this address is made,