I\'m doing an ajax-request in Javascript to obtain a JWT from my WebAPI AuthenticationProvider. This is my js-function:
function authenticateUser(credentials
Looks like you may have already solved it but, this is what did it for me. Using the above and setting body to this worked.
var body = { grant_type: 'password', username: credentials.name, password: credentials.password };