Wordpress auth with api not work

Hi
where is my code is wrong ?

Login.ts

doLogin(){
    this.auth.doLogin(this.myUsername, this.myPassword)
      .subscribe(res => {
         console.log(res);
        })
  }

auth.ts (servic provider)

doLogin(username, password){
    return this.http.post(this.API_LOGIN+'wp-json/jwt-auth/v1/token',{
      username: username,
      password: password
    })
  }