Q:

trow error beginning of pipe

map(res => { 
  if (res.bearerToken) {
    return this.saveJwt(res.bearerToken); 
  } else {
    throw new Error('Valid token not returned');
  }
})
0

New to Communities?

Join the community