Jun 27, 2016 12:54 AM|halhunt|LINK
Greetings all. I've put together a very simple personal activity tracking system using Visual Studio 2015's ASP.NET 4.6.1 SPA template. It works great. Now I would like to call that same REST web API using anything other than the SPA itself. I've creating
numerous web API projects before that utilize OWINs oauth middleware and could always test those APIs using Fiddler. So I'm very familiar with the steps that need to be taken in Fiddler to accomplish those tasks (i.e. posting to the oauth server's token endpoint
using a form encoded body like grant_type=password&username=blah&password=blah and using the returned access token in subsequent web API calls). However this approach won't work with the web APIs created using the SPA template. No matter what I do I get
an "invalid_client" trying to call the oauth server's token endpoint. What gives? Thanks in advance!