I have a Web API controller and an ASP.NET MVC controller in the same solution. I am authenticating the API service by calling it from an ASP.NET MVC action method by token based authentication from the MVC controller.
Though I am passing the valid token to the API from MVC, it is not authenticating. I am getting an error "401 Authorization denied".
Thanks, Anusuya