{"action":"created","issue":{"url":"https://api.github.com/repos/ga-dc/project3/issues/54","labels_url":"https://api.github.com/repos/ga-dc/project3/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/ga-dc/project3/issues/54/comments","events_url":"https://api.github.com/repos/ga-dc/project3/issues/54/events","html_url":"https://github.com/ga-dc/project3/issues/54","id":121093233,"number":54,"title":"Google Login Authentication ","user":{"login":"roshanad","id":12983635,"avatar_url":"https://avatars.githubusercontent.com/u/12983635?v=3","gravatar_id":"","url":"https://api.github.com/users/roshanad","html_url":"https://github.com/roshanad","followers_url":"https://api.github.com/users/roshanad/followers","following_url":"https://api.github.com/users/roshanad/following{/other_user}","gists_url":"https://api.github.com/users/roshanad/gists{/gist_id}","starred_url":"https://api.github.com/users/roshanad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roshanad/subscriptions","organizations_url":"https://api.github.com/users/roshanad/orgs","repos_url":"https://api.github.com/users/roshanad/repos","events_url":"https://api.github.com/users/roshanad/events{/privacy}","received_events_url":"https://api.github.com/users/roshanad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"amaseda","id":3519147,"avatar_url":"https://avatars.githubusercontent.com/u/3519147?v=3","gravatar_id":"","url":"https://api.github.com/users/amaseda","html_url":"https://github.com/amaseda","followers_url":"https://api.github.com/users/amaseda/followers","following_url":"https://api.github.com/users/amaseda/following{/other_user}","gists_url":"https://api.github.com/users/amaseda/gists{/gist_id}","starred_url":"https://api.github.com/users/amaseda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaseda/subscriptions","organizations_url":"https://api.github.com/users/amaseda/orgs","repos_url":"https://api.github.com/users/amaseda/repos","events_url":"https://api.github.com/users/amaseda/events{/privacy}","received_events_url":"https://api.github.com/users/amaseda/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-12-08T20:33:04Z","updated_at":"2015-12-08T20:59:45Z","closed_at":null,"body":"We were able to implement Facebook Login but Google Login is not working. "},"comment":{"url":"https://api.github.com/repos/ga-dc/project3/issues/comments/163016185","html_url":"https://github.com/ga-dc/project3/issues/54#issuecomment-163016185","issue_url":"https://api.github.com/repos/ga-dc/project3/issues/54","id":163016185,"user":{"login":"jmas13","id":7882341,"avatar_url":"https://avatars.githubusercontent.com/u/7882341?v=3","gravatar_id":"","url":"https://api.github.com/users/jmas13","html_url":"https://github.com/jmas13","followers_url":"https://api.github.com/users/jmas13/followers","following_url":"https://api.github.com/users/jmas13/following{/other_user}","gists_url":"https://api.github.com/users/jmas13/gists{/gist_id}","starred_url":"https://api.github.com/users/jmas13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmas13/subscriptions","organizations_url":"https://api.github.com/users/jmas13/orgs","repos_url":"https://api.github.com/users/jmas13/repos","events_url":"https://api.github.com/users/jmas13/events{/privacy}","received_events_url":"https://api.github.com/users/jmas13/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T20:59:45Z","updated_at":"2015-12-08T20:59:45Z","body":"The error is in validating the user so Mongo does not like something that is being given to it. I think it is because what you want to be name, the json from google calls \"displayName\" so the configuration [here](https://github.com/codedre/project-3/blob/googleLogin/config/passport.js#L127) needs to be changed so that the name is coming from googles \"display name\". See [example here](https://scotch.io/tutorials/easy-node-authentication-google)"}}