I am using auth0-spa-js in my angular application. However, after successful user authentication I am not sure how can I read access token. I have read couple of article but still its not clear.
I have tried following way in Auth Guard but I get undefined.
this.auth0Service.getAccessTokenSilently().subscribe(data=>{
console.log(data);
});
Can someone help here pls?
Thanks.