I am fetching an id token using auth0 react SDK which returns a promise and then it gets resolved. At the same time, I m using an apollo use query to fetch data but the query also requires that token to return data. How to run the query only after the token is return by auth0?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How can I leverage async await functionality in apollo client? | 1 | 900 | February 6, 2025 | |
React: querying with variables | 2 | 145 | June 29, 2024 | |
useQuery data is not updated after retrying the query due to an networkError | 6 | 1723 | February 6, 2025 | |
I am not able to make call to same queries with different variables | 1 | 128 | May 9, 2024 | |
awaitRefetchQueries for specific query | 1 | 235 | February 6, 2025 |