Tag: jwt
-
Cannot read properties of undefined (reading ‘isAuth’) in React and GraphQL application
0 I’m encountering an error when trying to create a post in my React application using a GraphQL mutation. The error message is: { "errors": [ { "message": "Cannot read properties of undefined (reading ‘isAuth’)", "status": 500 } ], "data": { "createPost": null } } This suggests that the req.isAuth property is undefined when the…
-
GraphQL query header with variable not setting on first render
0 I am using graphQL in react native project. I am passing headers (cookie/authorization) in context object of query, in useMutation or useQuery. [Problem is only on iOS App] The basic system of the app is user signup the profile, and verify, on initial signup the property finishedAccountSetup: false is false. so when they log…