{"action":"created","comment":{"url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/pulls/comments/266192979","pull_request_review_id":215305329,"id":266192979,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI2NjE5Mjk3OQ==","diff_hunk":"@@ -0,0 +1,28 @@\n+import { Strategy as LinkedInStrategy } from 'passport-linkedin-oauth2';\n+\n+import User from '../models/User';\n+import config from '../config/keys';\n+\n+export default new LinkedInStrategy({\n+  clientID: config.linkedIn.clientID,\n+  clientSecret: config.linkedIn.clientSecret,\n+  callbackURL: '/auth/linkedin/success'\n+}, (accessToken, refresh, profile, done) => User.findOne({ linkedInId: profile.id })","path":"passport/LinkedIn.js","position":10,"original_position":10,"commit_id":"936ada661cc6e3541f6645ac4bb61edbf63a6fa3","original_commit_id":"936ada661cc6e3541f6645ac4bb61edbf63a6fa3","user":{"login":"brainyfarm","id":11624587,"node_id":"MDQ6VXNlcjExNjI0NTg3","avatar_url":"https://avatars2.githubusercontent.com/u/11624587?v=4","gravatar_id":"","url":"https://api.github.com/users/brainyfarm","html_url":"https://github.com/brainyfarm","followers_url":"https://api.github.com/users/brainyfarm/followers","following_url":"https://api.github.com/users/brainyfarm/following{/other_user}","gists_url":"https://api.github.com/users/brainyfarm/gists{/gist_id}","starred_url":"https://api.github.com/users/brainyfarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainyfarm/subscriptions","organizations_url":"https://api.github.com/users/brainyfarm/orgs","repos_url":"https://api.github.com/users/brainyfarm/repos","events_url":"https://api.github.com/users/brainyfarm/events{/privacy}","received_events_url":"https://api.github.com/users/brainyfarm/received_events","type":"User","site_admin":false},"body":"Looks rough looking down from here.","created_at":"2019-03-16T07:38:42Z","updated_at":"2019-03-16T07:38:42Z","html_url":"https://github.com/limitless-harmony/memeing-maker-backend/pull/3#discussion_r266192979","pull_request_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/pulls/3","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/pulls/comments/266192979"},"html":{"href":"https://github.com/limitless-harmony/memeing-maker-backend/pull/3#discussion_r266192979"},"pull_request":{"href":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/pulls/3","id":261546414,"node_id":"MDExOlB1bGxSZXF1ZXN0MjYxNTQ2NDE0","html_url":"https://github.com/limitless-harmony/memeing-maker-backend/pull/3","diff_url":"https://github.com/limitless-harmony/memeing-maker-backend/pull/3.diff","patch_url":"https://github.com/limitless-harmony/memeing-maker-backend/pull/3.patch","issue_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/issues/3","number":3,"state":"open","locked":false,"title":"WIP Implement passport authentication [Do not Merge]","user":{"login":"brainyfarm","id":11624587,"node_id":"MDQ6VXNlcjExNjI0NTg3","avatar_url":"https://avatars2.githubusercontent.com/u/11624587?v=4","gravatar_id":"","url":"https://api.github.com/users/brainyfarm","html_url":"https://github.com/brainyfarm","followers_url":"https://api.github.com/users/brainyfarm/followers","following_url":"https://api.github.com/users/brainyfarm/following{/other_user}","gists_url":"https://api.github.com/users/brainyfarm/gists{/gist_id}","starred_url":"https://api.github.com/users/brainyfarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainyfarm/subscriptions","organizations_url":"https://api.github.com/users/brainyfarm/orgs","repos_url":"https://api.github.com/users/brainyfarm/repos","events_url":"https://api.github.com/users/brainyfarm/events{/privacy}","received_events_url":"https://api.github.com/users/brainyfarm/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nSetup passport for social authentication\r\n\r\n#### Description of Task to be completed?\r\n- Setup Passport\r\n- Implement Google Login Strategy\r\n- Implement LinkedIn Login Strategy\r\n- Implement Facebook Login Strategy\r\n\r\n#### How should this be manually tested?\r\nRun the app\r\n- For Google, visit `localhost:4001/auth/google` and login with google\r\n\r\n#### Any background context you want to provide?\r\nN/A\r\n\r\n#### What are the relevant stories?\r\nSetup and implement passport authentication\r\n\r\n#### Screenshots (if appropriate)\r\n![Screen Shot 2019-03-15 at 2 13 43 PM](https://user-images.githubusercontent.com/11624587/54433617-9f676f80-472c-11e9-90a5-a7cd812c0960.png)\r\n\r\n![Screen Shot 2019-03-15 at 5 22 18 PM](https://user-images.githubusercontent.com/11624587/54446357-085be100-4747-11e9-8e0b-44484750fe26.png)\r\n\r\n\r\n#### Questions:\r\nN/A","created_at":"2019-03-15T13:14:40Z","updated_at":"2019-03-16T07:38:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dbbf49cf72f54032fba5264d6d5ad54ab5308e1e","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Avuidrauxs","id":5025923,"node_id":"MDQ6VXNlcjUwMjU5MjM=","avatar_url":"https://avatars3.githubusercontent.com/u/5025923?v=4","gravatar_id":"","url":"https://api.github.com/users/Avuidrauxs","html_url":"https://github.com/Avuidrauxs","followers_url":"https://api.github.com/users/Avuidrauxs/followers","following_url":"https://api.github.com/users/Avuidrauxs/following{/other_user}","gists_url":"https://api.github.com/users/Avuidrauxs/gists{/gist_id}","starred_url":"https://api.github.com/users/Avuidrauxs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Avuidrauxs/subscriptions","organizations_url":"https://api.github.com/users/Avuidrauxs/orgs","repos_url":"https://api.github.com/users/Avuidrauxs/repos","events_url":"https://api.github.com/users/Avuidrauxs/events{/privacy}","received_events_url":"https://api.github.com/users/Avuidrauxs/received_events","type":"User","site_admin":false},{"login":"Veraclins","id":26969309,"node_id":"MDQ6VXNlcjI2OTY5MzA5","avatar_url":"https://avatars3.githubusercontent.com/u/26969309?v=4","gravatar_id":"","url":"https://api.github.com/users/Veraclins","html_url":"https://github.com/Veraclins","followers_url":"https://api.github.com/users/Veraclins/followers","following_url":"https://api.github.com/users/Veraclins/following{/other_user}","gists_url":"https://api.github.com/users/Veraclins/gists{/gist_id}","starred_url":"https://api.github.com/users/Veraclins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Veraclins/subscriptions","organizations_url":"https://api.github.com/users/Veraclins/orgs","repos_url":"https://api.github.com/users/Veraclins/repos","events_url":"https://api.github.com/users/Veraclins/events{/privacy}","received_events_url":"https://api.github.com/users/Veraclins/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1274516854,"node_id":"MDU6TGFiZWwxMjc0NTE2ODU0","url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/labels/work-in-progress","name":"work-in-progress","color":"f4706b","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/pulls/3/commits","review_comments_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/pulls/3/comments","review_comment_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/issues/3/comments","statuses_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/statuses/936ada661cc6e3541f6645ac4bb61edbf63a6fa3","head":{"label":"limitless-harmony:feature/implement-passport-authentication","ref":"feature/implement-passport-authentication","sha":"936ada661cc6e3541f6645ac4bb61edbf63a6fa3","user":{"login":"limitless-harmony","id":48214960,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ4MjE0OTYw","avatar_url":"https://avatars0.githubusercontent.com/u/48214960?v=4","gravatar_id":"","url":"https://api.github.com/users/limitless-harmony","html_url":"https://github.com/limitless-harmony","followers_url":"https://api.github.com/users/limitless-harmony/followers","following_url":"https://api.github.com/users/limitless-harmony/following{/other_user}","gists_url":"https://api.github.com/users/limitless-harmony/gists{/gist_id}","starred_url":"https://api.github.com/users/limitless-harmony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limitless-harmony/subscriptions","organizations_url":"https://api.github.com/users/limitless-harmony/orgs","repos_url":"https://api.github.com/users/limitless-harmony/repos","events_url":"https://api.github.com/users/limitless-harmony/events{/privacy}","received_events_url":"https://api.github.com/users/limitless-harmony/received_events","type":"Organization","site_admin":false},"repo":{"id":174940396,"node_id":"MDEwOlJlcG9zaXRvcnkxNzQ5NDAzOTY=","name":"memeing-maker-backend","full_name":"limitless-harmony/memeing-maker-backend","private":false,"owner":{"login":"limitless-harmony","id":48214960,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ4MjE0OTYw","avatar_url":"https://avatars0.githubusercontent.com/u/48214960?v=4","gravatar_id":"","url":"https://api.github.com/users/limitless-harmony","html_url":"https://github.com/limitless-harmony","followers_url":"https://api.github.com/users/limitless-harmony/followers","following_url":"https://api.github.com/users/limitless-harmony/following{/other_user}","gists_url":"https://api.github.com/users/limitless-harmony/gists{/gist_id}","starred_url":"https://api.github.com/users/limitless-harmony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limitless-harmony/subscriptions","organizations_url":"https://api.github.com/users/limitless-harmony/orgs","repos_url":"https://api.github.com/users/limitless-harmony/repos","events_url":"https://api.github.com/users/limitless-harmony/events{/privacy}","received_events_url":"https://api.github.com/users/limitless-harmony/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/limitless-harmony/memeing-maker-backend","description":"Memeing Maker Backend","fork":false,"url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend","forks_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/forks","keys_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/teams","hooks_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/hooks","issue_events_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/issues/events{/number}","events_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/events","assignees_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/assignees{/user}","branches_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/branches{/branch}","tags_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/tags","blobs_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/languages","stargazers_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/stargazers","contributors_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/contributors","subscribers_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/subscribers","subscription_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/subscription","commits_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/contents/{+path}","compare_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/merges","archive_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/downloads","issues_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/issues{/number}","pulls_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/labels{/name}","releases_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/releases{/id}","deployments_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/deployments","created_at":"2019-03-11T06:38:13Z","updated_at":"2019-03-11T06:38:15Z","pushed_at":"2019-03-16T07:37:05Z","git_url":"git://github.com/limitless-harmony/memeing-maker-backend.git","ssh_url":"git@github.com:limitless-harmony/memeing-maker-backend.git","clone_url":"https://github.com/limitless-harmony/memeing-maker-backend.git","svn_url":"https://github.com/limitless-harmony/memeing-maker-backend","homepage":null,"size":42,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"limitless-harmony:development","ref":"development","sha":"ecdc7c3200e1801108e1379eb441558c71817faf","user":{"login":"limitless-harmony","id":48214960,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ4MjE0OTYw","avatar_url":"https://avatars0.githubusercontent.com/u/48214960?v=4","gravatar_id":"","url":"https://api.github.com/users/limitless-harmony","html_url":"https://github.com/limitless-harmony","followers_url":"https://api.github.com/users/limitless-harmony/followers","following_url":"https://api.github.com/users/limitless-harmony/following{/other_user}","gists_url":"https://api.github.com/users/limitless-harmony/gists{/gist_id}","starred_url":"https://api.github.com/users/limitless-harmony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limitless-harmony/subscriptions","organizations_url":"https://api.github.com/users/limitless-harmony/orgs","repos_url":"https://api.github.com/users/limitless-harmony/repos","events_url":"https://api.github.com/users/limitless-harmony/events{/privacy}","received_events_url":"https://api.github.com/users/limitless-harmony/received_events","type":"Organization","site_admin":false},"repo":{"id":174940396,"node_id":"MDEwOlJlcG9zaXRvcnkxNzQ5NDAzOTY=","name":"memeing-maker-backend","full_name":"limitless-harmony/memeing-maker-backend","private":false,"owner":{"login":"limitless-harmony","id":48214960,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ4MjE0OTYw","avatar_url":"https://avatars0.githubusercontent.com/u/48214960?v=4","gravatar_id":"","url":"https://api.github.com/users/limitless-harmony","html_url":"https://github.com/limitless-harmony","followers_url":"https://api.github.com/users/limitless-harmony/followers","following_url":"https://api.github.com/users/limitless-harmony/following{/other_user}","gists_url":"https://api.github.com/users/limitless-harmony/gists{/gist_id}","starred_url":"https://api.github.com/users/limitless-harmony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limitless-harmony/subscriptions","organizations_url":"https://api.github.com/users/limitless-harmony/orgs","repos_url":"https://api.github.com/users/limitless-harmony/repos","events_url":"https://api.github.com/users/limitless-harmony/events{/privacy}","received_events_url":"https://api.github.com/users/limitless-harmony/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/limitless-harmony/memeing-maker-backend","description":"Memeing Maker Backend","fork":false,"url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend","forks_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/forks","keys_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/teams","hooks_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/hooks","issue_events_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/issues/events{/number}","events_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/events","assignees_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/assignees{/user}","branches_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/branches{/branch}","tags_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/tags","blobs_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/languages","stargazers_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/stargazers","contributors_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/contributors","subscribers_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/subscribers","subscription_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/subscription","commits_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/contents/{+path}","compare_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/merges","archive_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/downloads","issues_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/issues{/number}","pulls_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/labels{/name}","releases_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/releases{/id}","deployments_url":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/deployments","created_at":"2019-03-11T06:38:13Z","updated_at":"2019-03-11T06:38:15Z","pushed_at":"2019-03-16T07:37:05Z","git_url":"git://github.com/limitless-harmony/memeing-maker-backend.git","ssh_url":"git@github.com:limitless-harmony/memeing-maker-backend.git","clone_url":"https://github.com/limitless-harmony/memeing-maker-backend.git","svn_url":"https://github.com/limitless-harmony/memeing-maker-backend","homepage":null,"size":42,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/pulls/3"},"html":{"href":"https://github.com/limitless-harmony/memeing-maker-backend/pull/3"},"issue":{"href":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/issues/3"},"comments":{"href":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/limitless-harmony/memeing-maker-backend/statuses/936ada661cc6e3541f6645ac4bb61edbf63a6fa3"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"brainyfarm"}}