I have a MVC application that my users login to that I want to return a file using a IHttpActionResult from a Web API on another server.
Is there a way to call this from the back end MVC application and return it through a MVC controller, or should the front end be calling this Web API, and if so how do I authenticate the Web API using the user logged into the MVC application so that you can only access this function if you are logged into the MVC app. The MVC application is using ASP.Identity.
Thank you.