When authentication fails with in the GrantResourceOwnerCredentials method of SimpleAuthorizationServerProvider it returns;
context.SetError("invalid_grant", "The user name or password is incorrect.");
However, I need to return my own JSON response by using a TEntity class, any help would be appreciated.