# How to get access token details after post login?

**URL:** <https://community.auth0.com/t/how-to-get-access-token-details-after-post-login/141327>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [August 19, 2024, 8:08pm UTC](https://community.auth0.com/t/how-to-get-access-token-details-after-post-login/141327 "2024-08-19T20:08:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![swapnil.dhondkar](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@swapnil.dhondkar](https://community.auth0.com/u/swapnil.dhondkar)\
**Post date:** [August 19, 2024, 8:08pm UTC](https://community.auth0.com/t/how-to-get-access-token-details-after-post-login/141327/1 "2024-08-19T20:08:52Z")

</div>

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?

> [@Get the token after loginWithRedirect()](https://community.auth0.com/t/get-the-token-after-loginwithredirect/106919):
>
> Hello guys. I’m using Auth0 with ReactJS, do you know how I can get the logged in token after using loginWithRedirect()?

and login code from angular -

```auto
this.auth.loginWithRedirect({
  appState: {
    target: '/profile',
  },
  authorizationParams: {
    prompt: 'login',
  },
});

```

---

<div class="post-metadata">

**Author:** ![teodor.andrei](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/teodor.andrei/32/75320_2.png) [@teodor.andrei](https://community.auth0.com/u/teodor.andrei)\
**Post date:** [May 12, 2025, 8:47am UTC](https://community.auth0.com/t/how-to-get-access-token-details-after-post-login/141327/3 "2025-05-12T08:47:22Z")

</div>

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](https://auth0.com/docs/quickstart/spa/react/02-calling-an-api#get-an-access-token:~:text=to%20that%20API.-,Get%20an%20Access%20Token,-Once%20you%20configure) for a more detailed guide.

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

Sincerely,  
Teodor.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [May 26, 2025, 8:47am UTC](https://community.auth0.com/t/how-to-get-access-token-details-after-post-login/141327/4 "2025-05-26T08:47:27Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
