I have setup both App(Angular) and API(dot net core) using sample provided by auth0. I am able to login and access both public and protected page.
I need to know how to get access token details as soon as I login so that I can call my external api with access token. I went through below link. but it says - access token is stored in local memory and you need to call silent api to get token.
I checked the network requets in browser, I found - call is getting happened after login with this url- https:/oauth/token
but don’t know from where it is being called?
can anyone eleborate more? where to get access token after login?
and login code from angular -
this.auth.loginWithRedirect({
appState: {
target: '/profile',
},
authorizationParams: {
prompt: 'login',
},
});