How to get access token details after post login?

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',
  },
});

Hi @swapnil.dhondkar, and welcome to the Auth0 Community!

The /oauth/token call is initiated by the Auth0 Angular SDK itself, so you won’t be able to find this call in your application’s code.

To get the Access Token, you will have to call the getAccessTokenSilently function as was mentioned in the link you have provided. This function returns a promise that contains the token. Please check out our docs for a more detailed guide.

Let me know if there is more I can do to help you!

Sincerely,
Teodor.