{"action":"opened","issue":{"url":"https://api.github.com/repos/MyWebIntelligence/MyWebIntelligence/issues/251","labels_url":"https://api.github.com/repos/MyWebIntelligence/MyWebIntelligence/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/MyWebIntelligence/MyWebIntelligence/issues/251/comments","events_url":"https://api.github.com/repos/MyWebIntelligence/MyWebIntelligence/issues/251/events","html_url":"https://github.com/MyWebIntelligence/MyWebIntelligence/issues/251","id":113549146,"number":251,"title":"Deal with Login with Google 500 errors","user":{"login":"DavidBruant","id":165829,"avatar_url":"https://avatars.githubusercontent.com/u/165829?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidBruant","html_url":"https://github.com/DavidBruant","followers_url":"https://api.github.com/users/DavidBruant/followers","following_url":"https://api.github.com/users/DavidBruant/following{/other_user}","gists_url":"https://api.github.com/users/DavidBruant/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidBruant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidBruant/subscriptions","organizations_url":"https://api.github.com/users/DavidBruant/orgs","repos_url":"https://api.github.com/users/DavidBruant/repos","events_url":"https://api.github.com/users/DavidBruant/events{/privacy}","received_events_url":"https://api.github.com/users/DavidBruant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"DavidBruant","id":165829,"avatar_url":"https://avatars.githubusercontent.com/u/165829?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidBruant","html_url":"https://github.com/DavidBruant","followers_url":"https://api.github.com/users/DavidBruant/followers","following_url":"https://api.github.com/users/DavidBruant/following{/other_user}","gists_url":"https://api.github.com/users/DavidBruant/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidBruant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidBruant/subscriptions","organizations_url":"https://api.github.com/users/DavidBruant/orgs","repos_url":"https://api.github.com/users/DavidBruant/repos","events_url":"https://api.github.com/users/DavidBruant/events{/privacy}","received_events_url":"https://api.github.com/users/DavidBruant/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/MyWebIntelligence/MyWebIntelligence/milestones/5","html_url":"https://github.com/MyWebIntelligence/MyWebIntelligence/milestones/Future","labels_url":"https://api.github.com/repos/MyWebIntelligence/MyWebIntelligence/milestones/5/labels","id":1016854,"number":5,"title":"Future","description":"Not 1.0","creator":{"login":"DavidBruant","id":165829,"avatar_url":"https://avatars.githubusercontent.com/u/165829?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidBruant","html_url":"https://github.com/DavidBruant","followers_url":"https://api.github.com/users/DavidBruant/followers","following_url":"https://api.github.com/users/DavidBruant/following{/other_user}","gists_url":"https://api.github.com/users/DavidBruant/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidBruant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidBruant/subscriptions","organizations_url":"https://api.github.com/users/DavidBruant/orgs","repos_url":"https://api.github.com/users/DavidBruant/repos","events_url":"https://api.github.com/users/DavidBruant/events{/privacy}","received_events_url":"https://api.github.com/users/DavidBruant/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":0,"state":"open","created_at":"2015-03-11T16:50:32Z","updated_at":"2015-10-27T10:12:54Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-10-27T10:12:54Z","updated_at":"2015-10-27T10:12:54Z","closed_at":null,"body":"Just had one. The following showed up in the tab\r\n```\r\nfailed to fetch user profile (status: 500 data: {\r\n\"error\": {\r\n \"errors\": [\r\n  {\r\n   \"domain\": \"global\",\r\n   \"reason\": \"backendError\",\r\n   \"message\": \"Backend Error\"\r\n  }\r\n ],\r\n \"code\": 500,\r\n \"message\": \"Backend Error\"\r\n}\r\n}\r\n)\r\n   at /usr/mywi/node_modules/passport-google-oauth/lib/passport-google-oauth/oauth2.js:74:28\r\n   at passBackControl (/usr/mywi/node_modules/passport-google-oauth/node_modules/passport-oauth/node_modules/oauth/lib/oauth2.js:124:9)\r\n   at IncomingMessage.<anonymous> (/usr/mywi/node_modules/passport-google-oauth/node_modules/passport-oauth/node_modules/oauth/lib/oauth2.js:143:7)\r\n   at IncomingMessage.emit (events.js:117:20)\r\n   at _stream_readable.js:944:16\r\n   at process._tickCallback (node.js:448:13) \r\n```\r\n\r\nThis is poor UX. Might be better to silently wait a second and do one retry. If this one fails, display an error message to the user explaining loging in with Google failed."}}