{"action":"created","issue":{"url":"https://api.github.com/repos/firebase/quickstart-js/issues/98","repository_url":"https://api.github.com/repos/firebase/quickstart-js","labels_url":"https://api.github.com/repos/firebase/quickstart-js/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/firebase/quickstart-js/issues/98/comments","events_url":"https://api.github.com/repos/firebase/quickstart-js/issues/98/events","html_url":"https://github.com/firebase/quickstart-js/issues/98","id":203284736,"number":98,"title":"Undocumented fatal error: INVALID_REQUEST_URI","user":{"login":"richburdon","id":3523355,"avatar_url":"https://avatars.githubusercontent.com/u/3523355?v=3","gravatar_id":"","url":"https://api.github.com/users/richburdon","html_url":"https://github.com/richburdon","followers_url":"https://api.github.com/users/richburdon/followers","following_url":"https://api.github.com/users/richburdon/following{/other_user}","gists_url":"https://api.github.com/users/richburdon/gists{/gist_id}","starred_url":"https://api.github.com/users/richburdon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richburdon/subscriptions","organizations_url":"https://api.github.com/users/richburdon/orgs","repos_url":"https://api.github.com/users/richburdon/repos","events_url":"https://api.github.com/users/richburdon/events{/privacy}","received_events_url":"https://api.github.com/users/richburdon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-01-26T03:25:22Z","updated_at":"2017-01-26T21:25:52Z","closed_at":null,"body":"Sign-in failed: {\"code\":\"auth/internal-error\",\"message\":\"{\\\"error\\\":{\\\"errors\\\":[{\\\"domain\\\":\\\"global\\\",\\\"reason\\\":\\\"invalid\\\",\\\"message\\\":\\\"INVALID_REQUEST_URI\\\"}],\\\"code\\\":400,\\\"message\\\":\\\"INVALID_REQUEST_URI\\\"}}\"}\r\n\r\n\r\n```\r\n           chrome.identity.getAuthToken({ interactive: true }, accessToken => {\r\n              console.log('Token:', accessToken); // THIS WORKS.\r\n              let credential = firebase.auth.GoogleAuthProvider.credential(null, accessToken);\r\n              firebase.auth().signInWithCredential(credential).catch(error => {\r\n                logger.error('Sign-in failed:', JSON.stringify(error)); // FAILS HERE.\r\n              });\r\n            });\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/firebase/quickstart-js/issues/comments/275518658","html_url":"https://github.com/firebase/quickstart-js/issues/98#issuecomment-275518658","issue_url":"https://api.github.com/repos/firebase/quickstart-js/issues/98","id":275518658,"user":{"login":"bojeil-google","id":13474811,"avatar_url":"https://avatars.githubusercontent.com/u/13474811?v=3","gravatar_id":"","url":"https://api.github.com/users/bojeil-google","html_url":"https://github.com/bojeil-google","followers_url":"https://api.github.com/users/bojeil-google/followers","following_url":"https://api.github.com/users/bojeil-google/following{/other_user}","gists_url":"https://api.github.com/users/bojeil-google/gists{/gist_id}","starred_url":"https://api.github.com/users/bojeil-google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bojeil-google/subscriptions","organizations_url":"https://api.github.com/users/bojeil-google/orgs","repos_url":"https://api.github.com/users/bojeil-google/repos","events_url":"https://api.github.com/users/bojeil-google/events{/privacy}","received_events_url":"https://api.github.com/users/bojeil-google/received_events","type":"User","site_admin":false},"created_at":"2017-01-26T21:25:52Z","updated_at":"2017-01-26T21:25:52Z","body":"Sorry, the fix should be shipped next week. Again sorry for the disruption. I messed up the version number earlier. the fix should be in 3.6.8 and not 3.6.7 which is already out."}}
{"actor":{"display_login":"bojeil-google"}}