I have an issue using auth0, reactjs and apollo. I receive the jwt token and it is correct ( i verified it). However, how can i use this getTokenSilently and call in on the app.js?
auth0 works as it should but i am not sure how to get this token now as i don’t want to use localStorage.
Any help much appreciated, thanks
You can use the auth0Client and use the method getTokenSilently() which can be used from within your app. I’ve linked the quick start guide which covers usage of this method: Auth0 React SDK Quickstarts: Call an API. Hope this helps.