paulvanbladel / aurelia-auth

:key: Authentication plugin for aurelia
200 stars 74 forks source link

Added content type header and stringified JSON in body #107

Closed jasonhjohnson closed 8 years ago

jasonhjohnson commented 8 years ago

The POST without the content type and stingfied body didn't work in IE 9

mbroadst commented 8 years ago

@jasonhjohnson I'm going to leave this one for @paulvanbladel to review, as I'm headed out on vacation for a few days. At first glance it looks like you'd need to include this fix for oauth1 as well (they use the same code there it looks like), but furthermore it might actually be a bug in the aurelia-fetch-client. I'm not quite the fix belongs here, considering the code used to post this data is their suggested route for posting json data