grand-stack-starter-auth0-demo icon indicating copy to clipboard operation
grand-stack-starter-auth0-demo copied to clipboard

"Error: You must log in"

Open nargetdev opened this issue 4 years ago • 0 comments

I've dug into this pretty deeply. Default application does not register directive auth after login. Also tried with my own Auth0 credentials.

The token is set in the header as expected...

The makeAugmentedSchema is where all the Auth happens? It's pretty opaque and I'm a bit lost. Abandoning this effort for now. I might try to go upstream to the main starter and reintegrate the schema directives approach from scratch.

The response from the server is: {"errors":[{"message":"Cannot read property 'cookies' of undefined","locations":[{"line":3,"column":5}],"path":["User",0,"id"],"extensions":{"code":"INTERNAL_SERVER_ERROR","exception":{"stacktrace":["TypeError: Cannot read property 'cookies' of undefined"," at verifyAndDecodeToken ... << more stack trace >>

nargetdev avatar Apr 21 '20 02:04 nargetdev