getAccessTokenSilently comes from the useAuth0 hook, which can be used only inside a React component, so how to use getAccessTokenSilently function in an apiutil.js file outside React component?
getAccessTokenSilently comes from the useAuth0 hook, which can be used only inside a React component, so how to use getAccessTokenSilently function in an apiutil.js file outside React component?