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 | |
|---|---|---|---|---|
| useAuth0() hook with React + Redux App | 2 | 6444 | October 27, 2020 | |
| Issue Retrieving Token to send in Header within React Component | 2 | 4050 | October 26, 2019 | |
| Getting access tokens inside another hook/reusable code for getting access tokens | 4 | 4636 | October 1, 2022 | |
| ReactAuth0 - Get AccessToken in a none ReactHook code | 4 | 6749 | May 27, 2024 | |
| React SDK refresh access token | 3 | 5490 | February 17, 2021 |