{"action":"created","comment":{"url":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls/comments/46030593","id":46030593,"diff_hunk":"@@ -44,12 +44,14 @@\n \n   function profileToUser(provider, profile, options) {\n   // Let's create a user for that\n-    var email = profile.emails && profile.emails[0] && profile.emails[0].value;\n+   /* var email = profile.emails && profile.emails[0] && profile.emails[0].value;\n     if (!email && !options.emailOptional) {\n       // Fake an e-mail\n       email = (profile.username || profile.id) + '@loopback.' +\n               (profile.provider || provider) + '.com';\n-    }\n+    }*/","path":"lib/models/user-identity.js","position":11,"original_position":11,"commit_id":"334ce22348d1cb3fb8d15893659d66eab768cf7c","original_commit_id":"334ce22348d1cb3fb8d15893659d66eab768cf7c","user":{"login":"bajtos","id":1140553,"avatar_url":"https://avatars.githubusercontent.com/u/1140553?v=3","gravatar_id":"","url":"https://api.github.com/users/bajtos","html_url":"https://github.com/bajtos","followers_url":"https://api.github.com/users/bajtos/followers","following_url":"https://api.github.com/users/bajtos/following{/other_user}","gists_url":"https://api.github.com/users/bajtos/gists{/gist_id}","starred_url":"https://api.github.com/users/bajtos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bajtos/subscriptions","organizations_url":"https://api.github.com/users/bajtos/orgs","repos_url":"https://api.github.com/users/bajtos/repos","events_url":"https://api.github.com/users/bajtos/events{/privacy}","received_events_url":"https://api.github.com/users/bajtos/received_events","type":"User","site_admin":false},"body":"Please remove commented out code.","created_at":"2015-11-27T09:39:30Z","updated_at":"2015-11-27T09:39:30Z","html_url":"https://github.com/strongloop/loopback-component-passport/pull/109#discussion_r46030593","pull_request_url":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls/109","_links":{"self":{"href":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls/comments/46030593"},"html":{"href":"https://github.com/strongloop/loopback-component-passport/pull/109#discussion_r46030593"},"pull_request":{"href":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls/109","id":51953023,"html_url":"https://github.com/strongloop/loopback-component-passport/pull/109","diff_url":"https://github.com/strongloop/loopback-component-passport/pull/109.diff","patch_url":"https://github.com/strongloop/loopback-component-passport/pull/109.patch","issue_url":"https://api.github.com/repos/strongloop/loopback-component-passport/issues/109","number":109,"state":"open","locked":false,"title":"issue 107 fix","user":{"login":"loay","id":1986928,"avatar_url":"https://avatars.githubusercontent.com/u/1986928?v=3","gravatar_id":"","url":"https://api.github.com/users/loay","html_url":"https://github.com/loay","followers_url":"https://api.github.com/users/loay/followers","following_url":"https://api.github.com/users/loay/following{/other_user}","gists_url":"https://api.github.com/users/loay/gists{/gist_id}","starred_url":"https://api.github.com/users/loay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loay/subscriptions","organizations_url":"https://api.github.com/users/loay/orgs","repos_url":"https://api.github.com/users/loay/repos","events_url":"https://api.github.com/users/loay/events{/privacy}","received_events_url":"https://api.github.com/users/loay/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-27T01:20:48Z","updated_at":"2015-11-27T09:39:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ef27bf947af7cc67472649220ce41672d1ece1d4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls/109/commits","review_comments_url":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls/109/comments","review_comment_url":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls/comments{/number}","comments_url":"https://api.github.com/repos/strongloop/loopback-component-passport/issues/109/comments","statuses_url":"https://api.github.com/repos/strongloop/loopback-component-passport/statuses/334ce22348d1cb3fb8d15893659d66eab768cf7c","head":{"label":"strongloop:issue107","ref":"issue107","sha":"334ce22348d1cb3fb8d15893659d66eab768cf7c","user":{"login":"strongloop","id":3020012,"avatar_url":"https://avatars.githubusercontent.com/u/3020012?v=3","gravatar_id":"","url":"https://api.github.com/users/strongloop","html_url":"https://github.com/strongloop","followers_url":"https://api.github.com/users/strongloop/followers","following_url":"https://api.github.com/users/strongloop/following{/other_user}","gists_url":"https://api.github.com/users/strongloop/gists{/gist_id}","starred_url":"https://api.github.com/users/strongloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strongloop/subscriptions","organizations_url":"https://api.github.com/users/strongloop/orgs","repos_url":"https://api.github.com/users/strongloop/repos","events_url":"https://api.github.com/users/strongloop/events{/privacy}","received_events_url":"https://api.github.com/users/strongloop/received_events","type":"Organization","site_admin":false},"repo":{"id":19863257,"name":"loopback-component-passport","full_name":"strongloop/loopback-component-passport","owner":{"login":"strongloop","id":3020012,"avatar_url":"https://avatars.githubusercontent.com/u/3020012?v=3","gravatar_id":"","url":"https://api.github.com/users/strongloop","html_url":"https://github.com/strongloop","followers_url":"https://api.github.com/users/strongloop/followers","following_url":"https://api.github.com/users/strongloop/following{/other_user}","gists_url":"https://api.github.com/users/strongloop/gists{/gist_id}","starred_url":"https://api.github.com/users/strongloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strongloop/subscriptions","organizations_url":"https://api.github.com/users/strongloop/orgs","repos_url":"https://api.github.com/users/strongloop/repos","events_url":"https://api.github.com/users/strongloop/events{/privacy}","received_events_url":"https://api.github.com/users/strongloop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/strongloop/loopback-component-passport","description":"LoopBack passport integration to support third party logins and account linking","fork":false,"url":"https://api.github.com/repos/strongloop/loopback-component-passport","forks_url":"https://api.github.com/repos/strongloop/loopback-component-passport/forks","keys_url":"https://api.github.com/repos/strongloop/loopback-component-passport/keys{/key_id}","collaborators_url":"https://api.github.com/repos/strongloop/loopback-component-passport/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/strongloop/loopback-component-passport/teams","hooks_url":"https://api.github.com/repos/strongloop/loopback-component-passport/hooks","issue_events_url":"https://api.github.com/repos/strongloop/loopback-component-passport/issues/events{/number}","events_url":"https://api.github.com/repos/strongloop/loopback-component-passport/events","assignees_url":"https://api.github.com/repos/strongloop/loopback-component-passport/assignees{/user}","branches_url":"https://api.github.com/repos/strongloop/loopback-component-passport/branches{/branch}","tags_url":"https://api.github.com/repos/strongloop/loopback-component-passport/tags","blobs_url":"https://api.github.com/repos/strongloop/loopback-component-passport/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/strongloop/loopback-component-passport/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/strongloop/loopback-component-passport/git/refs{/sha}","trees_url":"https://api.github.com/repos/strongloop/loopback-component-passport/git/trees{/sha}","statuses_url":"https://api.github.com/repos/strongloop/loopback-component-passport/statuses/{sha}","languages_url":"https://api.github.com/repos/strongloop/loopback-component-passport/languages","stargazers_url":"https://api.github.com/repos/strongloop/loopback-component-passport/stargazers","contributors_url":"https://api.github.com/repos/strongloop/loopback-component-passport/contributors","subscribers_url":"https://api.github.com/repos/strongloop/loopback-component-passport/subscribers","subscription_url":"https://api.github.com/repos/strongloop/loopback-component-passport/subscription","commits_url":"https://api.github.com/repos/strongloop/loopback-component-passport/commits{/sha}","git_commits_url":"https://api.github.com/repos/strongloop/loopback-component-passport/git/commits{/sha}","comments_url":"https://api.github.com/repos/strongloop/loopback-component-passport/comments{/number}","issue_comment_url":"https://api.github.com/repos/strongloop/loopback-component-passport/issues/comments{/number}","contents_url":"https://api.github.com/repos/strongloop/loopback-component-passport/contents/{+path}","compare_url":"https://api.github.com/repos/strongloop/loopback-component-passport/compare/{base}...{head}","merges_url":"https://api.github.com/repos/strongloop/loopback-component-passport/merges","archive_url":"https://api.github.com/repos/strongloop/loopback-component-passport/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/strongloop/loopback-component-passport/downloads","issues_url":"https://api.github.com/repos/strongloop/loopback-component-passport/issues{/number}","pulls_url":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls{/number}","milestones_url":"https://api.github.com/repos/strongloop/loopback-component-passport/milestones{/number}","notifications_url":"https://api.github.com/repos/strongloop/loopback-component-passport/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/strongloop/loopback-component-passport/labels{/name}","releases_url":"https://api.github.com/repos/strongloop/loopback-component-passport/releases{/id}","created_at":"2014-05-16T16:30:25Z","updated_at":"2015-11-24T18:12:41Z","pushed_at":"2015-11-27T01:20:48Z","git_url":"git://github.com/strongloop/loopback-component-passport.git","ssh_url":"git@github.com:strongloop/loopback-component-passport.git","clone_url":"https://github.com/strongloop/loopback-component-passport.git","svn_url":"https://github.com/strongloop/loopback-component-passport","homepage":null,"size":389,"stargazers_count":58,"watchers_count":58,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":94,"mirror_url":null,"open_issues_count":45,"forks":94,"open_issues":45,"watchers":58,"default_branch":"master"}},"base":{"label":"strongloop:master","ref":"master","sha":"aa0ccab8040ea91ea48d03c93c8dbdd6dd5aa258","user":{"login":"strongloop","id":3020012,"avatar_url":"https://avatars.githubusercontent.com/u/3020012?v=3","gravatar_id":"","url":"https://api.github.com/users/strongloop","html_url":"https://github.com/strongloop","followers_url":"https://api.github.com/users/strongloop/followers","following_url":"https://api.github.com/users/strongloop/following{/other_user}","gists_url":"https://api.github.com/users/strongloop/gists{/gist_id}","starred_url":"https://api.github.com/users/strongloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strongloop/subscriptions","organizations_url":"https://api.github.com/users/strongloop/orgs","repos_url":"https://api.github.com/users/strongloop/repos","events_url":"https://api.github.com/users/strongloop/events{/privacy}","received_events_url":"https://api.github.com/users/strongloop/received_events","type":"Organization","site_admin":false},"repo":{"id":19863257,"name":"loopback-component-passport","full_name":"strongloop/loopback-component-passport","owner":{"login":"strongloop","id":3020012,"avatar_url":"https://avatars.githubusercontent.com/u/3020012?v=3","gravatar_id":"","url":"https://api.github.com/users/strongloop","html_url":"https://github.com/strongloop","followers_url":"https://api.github.com/users/strongloop/followers","following_url":"https://api.github.com/users/strongloop/following{/other_user}","gists_url":"https://api.github.com/users/strongloop/gists{/gist_id}","starred_url":"https://api.github.com/users/strongloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strongloop/subscriptions","organizations_url":"https://api.github.com/users/strongloop/orgs","repos_url":"https://api.github.com/users/strongloop/repos","events_url":"https://api.github.com/users/strongloop/events{/privacy}","received_events_url":"https://api.github.com/users/strongloop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/strongloop/loopback-component-passport","description":"LoopBack passport integration to support third party logins and account linking","fork":false,"url":"https://api.github.com/repos/strongloop/loopback-component-passport","forks_url":"https://api.github.com/repos/strongloop/loopback-component-passport/forks","keys_url":"https://api.github.com/repos/strongloop/loopback-component-passport/keys{/key_id}","collaborators_url":"https://api.github.com/repos/strongloop/loopback-component-passport/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/strongloop/loopback-component-passport/teams","hooks_url":"https://api.github.com/repos/strongloop/loopback-component-passport/hooks","issue_events_url":"https://api.github.com/repos/strongloop/loopback-component-passport/issues/events{/number}","events_url":"https://api.github.com/repos/strongloop/loopback-component-passport/events","assignees_url":"https://api.github.com/repos/strongloop/loopback-component-passport/assignees{/user}","branches_url":"https://api.github.com/repos/strongloop/loopback-component-passport/branches{/branch}","tags_url":"https://api.github.com/repos/strongloop/loopback-component-passport/tags","blobs_url":"https://api.github.com/repos/strongloop/loopback-component-passport/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/strongloop/loopback-component-passport/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/strongloop/loopback-component-passport/git/refs{/sha}","trees_url":"https://api.github.com/repos/strongloop/loopback-component-passport/git/trees{/sha}","statuses_url":"https://api.github.com/repos/strongloop/loopback-component-passport/statuses/{sha}","languages_url":"https://api.github.com/repos/strongloop/loopback-component-passport/languages","stargazers_url":"https://api.github.com/repos/strongloop/loopback-component-passport/stargazers","contributors_url":"https://api.github.com/repos/strongloop/loopback-component-passport/contributors","subscribers_url":"https://api.github.com/repos/strongloop/loopback-component-passport/subscribers","subscription_url":"https://api.github.com/repos/strongloop/loopback-component-passport/subscription","commits_url":"https://api.github.com/repos/strongloop/loopback-component-passport/commits{/sha}","git_commits_url":"https://api.github.com/repos/strongloop/loopback-component-passport/git/commits{/sha}","comments_url":"https://api.github.com/repos/strongloop/loopback-component-passport/comments{/number}","issue_comment_url":"https://api.github.com/repos/strongloop/loopback-component-passport/issues/comments{/number}","contents_url":"https://api.github.com/repos/strongloop/loopback-component-passport/contents/{+path}","compare_url":"https://api.github.com/repos/strongloop/loopback-component-passport/compare/{base}...{head}","merges_url":"https://api.github.com/repos/strongloop/loopback-component-passport/merges","archive_url":"https://api.github.com/repos/strongloop/loopback-component-passport/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/strongloop/loopback-component-passport/downloads","issues_url":"https://api.github.com/repos/strongloop/loopback-component-passport/issues{/number}","pulls_url":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls{/number}","milestones_url":"https://api.github.com/repos/strongloop/loopback-component-passport/milestones{/number}","notifications_url":"https://api.github.com/repos/strongloop/loopback-component-passport/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/strongloop/loopback-component-passport/labels{/name}","releases_url":"https://api.github.com/repos/strongloop/loopback-component-passport/releases{/id}","created_at":"2014-05-16T16:30:25Z","updated_at":"2015-11-24T18:12:41Z","pushed_at":"2015-11-27T01:20:48Z","git_url":"git://github.com/strongloop/loopback-component-passport.git","ssh_url":"git@github.com:strongloop/loopback-component-passport.git","clone_url":"https://github.com/strongloop/loopback-component-passport.git","svn_url":"https://github.com/strongloop/loopback-component-passport","homepage":null,"size":389,"stargazers_count":58,"watchers_count":58,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":94,"mirror_url":null,"open_issues_count":45,"forks":94,"open_issues":45,"watchers":58,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls/109"},"html":{"href":"https://github.com/strongloop/loopback-component-passport/pull/109"},"issue":{"href":"https://api.github.com/repos/strongloop/loopback-component-passport/issues/109"},"comments":{"href":"https://api.github.com/repos/strongloop/loopback-component-passport/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/strongloop/loopback-component-passport/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/strongloop/loopback-component-passport/statuses/334ce22348d1cb3fb8d15893659d66eab768cf7c"}}}}