You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would start debugging there. Quick caveat: The tutorial is using older versions of Auth0 SDK, so I would double-check if it is using the right one since newer ones may have breaking changes.
Meanwhile, I will try running it from my side to see what could be wrong.
I followed frontend tutorial graphql with react https://hasura.io/learn/graphql/react/introduction/.
And I get authentication error with token I get with useAccessToken.
Base code I used is 698f187.
Error message is "[GraphQL error]: Authentication hook unauthorized this request " at TodoPrivateList.js:66.
When I hard code jwt like below that is gotten at https://hasura.io/learn/graphql/graphiql, I can query in localhost web site with npm start.
Why I get authentication error with token I get with useAccessToken? How can I handle token?
Diff patch is below.
TodoPrivateList.js
App.js
The text was updated successfully, but these errors were encountered: