# GetAccessTokenSilently

**URL:** <https://community.auth0.com/t/getaccesstokensilently/59860>\
**Category:** Get Help\
**Created:** [March 22, 2021, 12:38pm UTC](https://community.auth0.com/t/getaccesstokensilently/59860 "2021-03-22T12:38:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankita.juyal](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ankita.juyal/32/12751_2.png) [@ankita.juyal](https://community.auth0.com/u/ankita.juyal)\
**Post date:** [March 22, 2021, 12:38pm UTC](https://community.auth0.com/t/getaccesstokensilently/59860/1 "2021-03-22T12:38:36Z")

</div>

I am not able to find the proper documentation to integrate GetAccessTokenSilently,  
I have pinned some of the Doubts below, if answered will be very much helpful:

1. Can we use getAccessTokenSilently in react without any LoginwithRedirect or LoginwithPopup?
2. If yes, do we have any configuration changes in the application settings?
3. And even though disabling the brave protection and running in chrome regular mode I still get the Login Required Error, if I log in through Redirect or Popup the error is not shown,why?

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [March 22, 2021, 5:08pm UTC](https://community.auth0.com/t/getaccesstokensilently/59860/3 "2021-03-22T17:08:14Z")

</div>

Hi @ankita.juyal,

Welcome to the Community!

I may be misinterpreting your question, but do you want to issue Access Token to unauthenticated users? For your app to be issued an Access Token, the user would have to log in. In the React SDK, you can do this through a redirect or a popup.

> [@ankita.juyal](#):
>
> And even though disabling the brave protection and running in chrome regular mode I still get the Login Required Error, if I log in through Redirect or Popup the error is not shown, why?

The Login Required Error will occur if the ID Token is expired or not present in storage. The React SDK will store tokens in memory or localstorage depending on the `chacheLocation` property passed to the `Auth0Provider`.

---

<div class="post-metadata">

**Author:** ![ankita.juyal](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ankita.juyal/32/12751_2.png) [@ankita.juyal](https://community.auth0.com/u/ankita.juyal)\
**Post date:** [March 23, 2021, 3:36am UTC](https://community.auth0.com/t/getaccesstokensilently/59860/4 "2021-03-23T03:36:17Z")

</div>

Thank you this answers my queries

---

<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:** [April 7, 2021, 3:36am UTC](https://community.auth0.com/t/getaccesstokensilently/59860/5 "2021-04-07T03:36:45Z")

</div>

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