Could you do something like this:
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Secure access tokens stored in local storage using refresh tokens and getting access token only when required | 2 | 1625 | March 13, 2023 | |
getAccessTokenSilently won't get me a token | 1 | 1068 | April 15, 2023 | |
React SDK refresh access token | 3 | 5177 | February 17, 2021 | |
How frequently should getAccessTokenSilently be called? | 5 | 7787 | July 15, 2022 | |
Having to call getAccessTokenSilently() to refresh the auth state | 0 | 2008 | October 3, 2022 |