I tried that, but I couldnt get it to work… maybe because its an async function to get the token but it looks like I need the token when the axios hook is initialized… I am out of ideas here! I think I cannot use this library!
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to get token from outside React components? | 4 | 5969 | August 14, 2024 | |
| Getting access tokens inside another hook/reusable code for getting access tokens | 3 | 4764 | October 1, 2022 | |
| How to get access token in my axios global config file - Vue 3 | 3 | 9714 | May 21, 2024 | |
| React SDK refresh access token | 2 | 5606 | February 17, 2021 | |
| Refetch access token after callback | 5 | 1222 | November 13, 2023 |