{"action":"closed","issue":{"url":"https://api.github.com/repos/graphcool/dashboard/issues/291","repository_url":"https://api.github.com/repos/graphcool/dashboard","labels_url":"https://api.github.com/repos/graphcool/dashboard/issues/291/labels{/name}","comments_url":"https://api.github.com/repos/graphcool/dashboard/issues/291/comments","events_url":"https://api.github.com/repos/graphcool/dashboard/issues/291/events","html_url":"https://github.com/graphcool/dashboard/issues/291","id":184692057,"number":291,"title":"Issuing authenticated queries","user":{"login":"sedubois","id":4217871,"avatar_url":"https://avatars.githubusercontent.com/u/4217871?v=3","gravatar_id":"","url":"https://api.github.com/users/sedubois","html_url":"https://github.com/sedubois","followers_url":"https://api.github.com/users/sedubois/followers","following_url":"https://api.github.com/users/sedubois/following{/other_user}","gists_url":"https://api.github.com/users/sedubois/gists{/gist_id}","starred_url":"https://api.github.com/users/sedubois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sedubois/subscriptions","organizations_url":"https://api.github.com/users/sedubois/orgs","repos_url":"https://api.github.com/users/sedubois/repos","events_url":"https://api.github.com/users/sedubois/events{/privacy}","received_events_url":"https://api.github.com/users/sedubois/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-23T14:05:29Z","updated_at":"2016-10-23T14:53:13Z","closed_at":"2016-10-23T14:53:13Z","body":"I have successfully set up Auth0 authentication and created a User through Relay as described [here](https://github.com/graphcool-examples/auth0-lock-example/issues/3). \r\n\r\nNext I'd like to actually query graph.cool on behalf of this user. As a first step, I simply manually modified the Relay setup to specify the same auth token as was used to create the User in the first place (through the `idToken` on type `AUTH_PROVIDER_AUTH0`):\r\n\r\n```\r\nRelay.injectNetworkLayer(\r\n  new Relay.DefaultNetworkLayer(process.env.GRAPHQL_ENDPOINT, {\r\n    headers: {\r\n      Authorization: 'Bearer XXX.YYY.ZZZ',\r\n    },\r\n  })\r\n);\r\n```\r\n\r\nHowever, the app stops rendering and I just get a console warning `RelayPendingQueryTracker.js:153 Server response was missing for query Index`. Any hints?"}}
{"actor":{"display_login":"sedubois"}}