I am trying to implement this file upload plunging into my project using Angularjs and .net web api token authorization
File Upload: http://blueimp.github.io/jQuery-File-Upload/
Token authorization: http://bitoftech.net/2014/06/09/angularjs-token-authentication-using-asp-net-web-api-2-owin-asp-net-identity/
I also have in angularjs module an interceptor to add the token to each request made to the server.
The issue i am having is the interceptor is not intercepting the request and attaching the token to the request when i try to upload the file. Therefore, the server is throwing a 401 Authorized. which makes sense.
My question, how can i intercept/inject the token to the file-upload post call?