My question is as follows, I'm using httpclient, and I need to get the jwt token, but it's coming in header no authorization (as it shows in the image), I'm not able to get this token because it's not coming in payload, and yes in the header. Is there any way to capture this token? as I access the header to get the Authorization bearer.
login(username: string, password: string) {
return this.http.post<any>({BASE}/login, {username, password })
.pipe(map(res=> {
console.log(res)
}))}