When I do an http post in angular JS (using IE 11), the OAuthValidateClientAuthenticationContext
form body does not contain any data at ValidateClientAuthentication
.
Note that this works perfectly well with Chrome and Firefox. If I open the debugger and switch to IE 9, It works but when I close the debugger, it switches to IE 11 and stops working.
Any ideas appreciated!
//sample code
var data = "grant_type=password&username=john&password=mYpass10&client_id=self"
this.$http.post('/token',
data, { headers: { 'Content-Type': 'application/x-www-form-urlencoded' } })
.success(function(response: any) {})
.error(function(err, status) {});