{"action":"opened","issue":{"url":"https://api.github.com/repos/CodeandoMexico/codeandomexico.org/issues/80","repository_url":"https://api.github.com/repos/CodeandoMexico/codeandomexico.org","labels_url":"https://api.github.com/repos/CodeandoMexico/codeandomexico.org/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/CodeandoMexico/codeandomexico.org/issues/80/comments","events_url":"https://api.github.com/repos/CodeandoMexico/codeandomexico.org/issues/80/events","html_url":"https://github.com/CodeandoMexico/codeandomexico.org/issues/80","id":148066023,"number":80,"title":"Facebook login is down","user":{"login":"juanpabloe","id":542209,"avatar_url":"https://avatars.githubusercontent.com/u/542209?v=3","gravatar_id":"","url":"https://api.github.com/users/juanpabloe","html_url":"https://github.com/juanpabloe","followers_url":"https://api.github.com/users/juanpabloe/followers","following_url":"https://api.github.com/users/juanpabloe/following{/other_user}","gists_url":"https://api.github.com/users/juanpabloe/gists{/gist_id}","starred_url":"https://api.github.com/users/juanpabloe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanpabloe/subscriptions","organizations_url":"https://api.github.com/users/juanpabloe/orgs","repos_url":"https://api.github.com/users/juanpabloe/repos","events_url":"https://api.github.com/users/juanpabloe/events{/privacy}","received_events_url":"https://api.github.com/users/juanpabloe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-13T13:45:23Z","updated_at":"2016-04-13T13:45:23Z","closed_at":null,"body":"The callback is crashing. Returning empty array.\r\n\r\nLogs \r\n\r\n```\r\n2016-04-13T13:42:39.036093+00:00 app[web.1]:\r\n2016-04-13T13:42:39.036101+00:00 app[web.1]: NoMethodError (undefined method `[]' for nil:NilClass):\r\n2016-04-13T13:42:39.036107+00:00 app[web.1]:   app/models/authentication.rb:28:in `create_with_omniauth'\r\n2016-04-13T13:42:39.036110+00:00 app[web.1]:   app/models/authentication.rb:8:in `find_for_provider_oauth'\r\n2016-04-13T13:42:39.036109+00:00 app[web.1]:   app/models/authentication.rb:21:in `find_or_create_with_omniauth'\r\n2016-04-13T13:42:39.036518+00:00 app[web.1]: cache: [GET /users/auth/facebook/callback?code=AQCzI1A3Wlceoo5U-vSuG6dHPbzntFUm6ETd59UDbQL8X3IwSgJavV-WLrxGGFFgMiXUOJUKwdiMOUZbRa8MBxXCMulLh5PBiSanyQkNz8FEzFluw0d_yAjvj1mrfx6E7gHfAFu1FocXX3l7cxGb0hCgXAR4KV4vGix4TTYpRb3TtfAFFkgQPDFjZKbuO7hMuEIMErW837CDTNrFLEW8P_zWgVv0YINoSvpRbonOUUyh2Wu69s7y8cVroSUrm3uOO71H_xb9Bs1AZBgqfRqU435xsupjpMf-qxyQuKH6gQcOETqyPvwy_zdU4-IjsvdhbajMIsKqzXw3YiC4lK5Q3oKl&state=ae39d5e93d560fbd3c596650f19ce76767020a109dba1284] miss\r\n2016-04-13T13:42:39.036111+00:00 app[web.1]:\r\n2016-04-13T13:42:39.036111+00:00 app[web.1]:\r\n2016-04-13T13:42:39.036110+00:00 app[web.1]:   app/controllers/users/omniauth_callbacks_controller.rb:6:in `all'\r\n```\r\n"}}