{"action":"opened","number":140,"pull_request":{"url":"https://api.github.com/repos/waterlock/waterlock/pulls/140","id":87893357,"html_url":"https://github.com/waterlock/waterlock/pull/140","diff_url":"https://github.com/waterlock/waterlock/pull/140.diff","patch_url":"https://github.com/waterlock/waterlock/pull/140.patch","issue_url":"https://api.github.com/repos/waterlock/waterlock/issues/140","number":140,"state":"open","locked":false,"title":"make login success response based on authentication method / type","user":{"login":"ahmedNY","id":14958972,"avatar_url":"https://avatars.githubusercontent.com/u/14958972?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmedNY","html_url":"https://github.com/ahmedNY","followers_url":"https://api.github.com/users/ahmedNY/followers","following_url":"https://api.github.com/users/ahmedNY/following{/other_user}","gists_url":"https://api.github.com/users/ahmedNY/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmedNY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmedNY/subscriptions","organizations_url":"https://api.github.com/users/ahmedNY/orgs","repos_url":"https://api.github.com/users/ahmedNY/repos","events_url":"https://api.github.com/users/ahmedNY/events{/privacy}","received_events_url":"https://api.github.com/users/ahmedNY/received_events","type":"User","site_admin":false},"body":"If we set waterlock.config.postActions.login.success to {local: “jwt,\nfacebook: “/loginsuccess”}\nWe got jwt response when login type is local and redirect to\n/loginsuccess when login type is facebook","created_at":"2016-10-04T13:26:16Z","updated_at":"2016-10-04T13:26:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/waterlock/waterlock/pulls/140/commits","review_comments_url":"https://api.github.com/repos/waterlock/waterlock/pulls/140/comments","review_comment_url":"https://api.github.com/repos/waterlock/waterlock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/waterlock/waterlock/issues/140/comments","statuses_url":"https://api.github.com/repos/waterlock/waterlock/statuses/44f9fe0392cdea1c0f87252cee82e7cc4dc40d7d","head":{"label":"ahmedNY:master","ref":"master","sha":"44f9fe0392cdea1c0f87252cee82e7cc4dc40d7d","user":{"login":"ahmedNY","id":14958972,"avatar_url":"https://avatars.githubusercontent.com/u/14958972?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmedNY","html_url":"https://github.com/ahmedNY","followers_url":"https://api.github.com/users/ahmedNY/followers","following_url":"https://api.github.com/users/ahmedNY/following{/other_user}","gists_url":"https://api.github.com/users/ahmedNY/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmedNY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmedNY/subscriptions","organizations_url":"https://api.github.com/users/ahmedNY/orgs","repos_url":"https://api.github.com/users/ahmedNY/repos","events_url":"https://api.github.com/users/ahmedNY/events{/privacy}","received_events_url":"https://api.github.com/users/ahmedNY/received_events","type":"User","site_admin":false},"repo":{"id":69964559,"name":"waterlock","full_name":"ahmedNY/waterlock","owner":{"login":"ahmedNY","id":14958972,"avatar_url":"https://avatars.githubusercontent.com/u/14958972?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmedNY","html_url":"https://github.com/ahmedNY","followers_url":"https://api.github.com/users/ahmedNY/followers","following_url":"https://api.github.com/users/ahmedNY/following{/other_user}","gists_url":"https://api.github.com/users/ahmedNY/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmedNY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmedNY/subscriptions","organizations_url":"https://api.github.com/users/ahmedNY/orgs","repos_url":"https://api.github.com/users/ahmedNY/repos","events_url":"https://api.github.com/users/ahmedNY/events{/privacy}","received_events_url":"https://api.github.com/users/ahmedNY/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ahmedNY/waterlock","description":"User authentication and json web token handling for Sails","fork":true,"url":"https://api.github.com/repos/ahmedNY/waterlock","forks_url":"https://api.github.com/repos/ahmedNY/waterlock/forks","keys_url":"https://api.github.com/repos/ahmedNY/waterlock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ahmedNY/waterlock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ahmedNY/waterlock/teams","hooks_url":"https://api.github.com/repos/ahmedNY/waterlock/hooks","issue_events_url":"https://api.github.com/repos/ahmedNY/waterlock/issues/events{/number}","events_url":"https://api.github.com/repos/ahmedNY/waterlock/events","assignees_url":"https://api.github.com/repos/ahmedNY/waterlock/assignees{/user}","branches_url":"https://api.github.com/repos/ahmedNY/waterlock/branches{/branch}","tags_url":"https://api.github.com/repos/ahmedNY/waterlock/tags","blobs_url":"https://api.github.com/repos/ahmedNY/waterlock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ahmedNY/waterlock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ahmedNY/waterlock/git/refs{/sha}","trees_url":"https://api.github.com/repos/ahmedNY/waterlock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ahmedNY/waterlock/statuses/{sha}","languages_url":"https://api.github.com/repos/ahmedNY/waterlock/languages","stargazers_url":"https://api.github.com/repos/ahmedNY/waterlock/stargazers","contributors_url":"https://api.github.com/repos/ahmedNY/waterlock/contributors","subscribers_url":"https://api.github.com/repos/ahmedNY/waterlock/subscribers","subscription_url":"https://api.github.com/repos/ahmedNY/waterlock/subscription","commits_url":"https://api.github.com/repos/ahmedNY/waterlock/commits{/sha}","git_commits_url":"https://api.github.com/repos/ahmedNY/waterlock/git/commits{/sha}","comments_url":"https://api.github.com/repos/ahmedNY/waterlock/comments{/number}","issue_comment_url":"https://api.github.com/repos/ahmedNY/waterlock/issues/comments{/number}","contents_url":"https://api.github.com/repos/ahmedNY/waterlock/contents/{+path}","compare_url":"https://api.github.com/repos/ahmedNY/waterlock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ahmedNY/waterlock/merges","archive_url":"https://api.github.com/repos/ahmedNY/waterlock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ahmedNY/waterlock/downloads","issues_url":"https://api.github.com/repos/ahmedNY/waterlock/issues{/number}","pulls_url":"https://api.github.com/repos/ahmedNY/waterlock/pulls{/number}","milestones_url":"https://api.github.com/repos/ahmedNY/waterlock/milestones{/number}","notifications_url":"https://api.github.com/repos/ahmedNY/waterlock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ahmedNY/waterlock/labels{/name}","releases_url":"https://api.github.com/repos/ahmedNY/waterlock/releases{/id}","deployments_url":"https://api.github.com/repos/ahmedNY/waterlock/deployments","created_at":"2016-10-04T12:50:51Z","updated_at":"2016-10-04T12:50:52Z","pushed_at":"2016-10-04T13:26:13Z","git_url":"git://github.com/ahmedNY/waterlock.git","ssh_url":"git@github.com:ahmedNY/waterlock.git","clone_url":"https://github.com/ahmedNY/waterlock.git","svn_url":"https://github.com/ahmedNY/waterlock","homepage":"http://waterlock.ninja","size":828,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"waterlock:master","ref":"master","sha":"088c7f9c641f626e6ebe9de4eec68f7eddf8d094","user":{"login":"waterlock","id":10261713,"avatar_url":"https://avatars.githubusercontent.com/u/10261713?v=3","gravatar_id":"","url":"https://api.github.com/users/waterlock","html_url":"https://github.com/waterlock","followers_url":"https://api.github.com/users/waterlock/followers","following_url":"https://api.github.com/users/waterlock/following{/other_user}","gists_url":"https://api.github.com/users/waterlock/gists{/gist_id}","starred_url":"https://api.github.com/users/waterlock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waterlock/subscriptions","organizations_url":"https://api.github.com/users/waterlock/orgs","repos_url":"https://api.github.com/users/waterlock/repos","events_url":"https://api.github.com/users/waterlock/events{/privacy}","received_events_url":"https://api.github.com/users/waterlock/received_events","type":"Organization","site_admin":false},"repo":{"id":20204177,"name":"waterlock","full_name":"waterlock/waterlock","owner":{"login":"waterlock","id":10261713,"avatar_url":"https://avatars.githubusercontent.com/u/10261713?v=3","gravatar_id":"","url":"https://api.github.com/users/waterlock","html_url":"https://github.com/waterlock","followers_url":"https://api.github.com/users/waterlock/followers","following_url":"https://api.github.com/users/waterlock/following{/other_user}","gists_url":"https://api.github.com/users/waterlock/gists{/gist_id}","starred_url":"https://api.github.com/users/waterlock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waterlock/subscriptions","organizations_url":"https://api.github.com/users/waterlock/orgs","repos_url":"https://api.github.com/users/waterlock/repos","events_url":"https://api.github.com/users/waterlock/events{/privacy}","received_events_url":"https://api.github.com/users/waterlock/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/waterlock/waterlock","description":"User authentication and json web token handling for Sails","fork":false,"url":"https://api.github.com/repos/waterlock/waterlock","forks_url":"https://api.github.com/repos/waterlock/waterlock/forks","keys_url":"https://api.github.com/repos/waterlock/waterlock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/waterlock/waterlock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/waterlock/waterlock/teams","hooks_url":"https://api.github.com/repos/waterlock/waterlock/hooks","issue_events_url":"https://api.github.com/repos/waterlock/waterlock/issues/events{/number}","events_url":"https://api.github.com/repos/waterlock/waterlock/events","assignees_url":"https://api.github.com/repos/waterlock/waterlock/assignees{/user}","branches_url":"https://api.github.com/repos/waterlock/waterlock/branches{/branch}","tags_url":"https://api.github.com/repos/waterlock/waterlock/tags","blobs_url":"https://api.github.com/repos/waterlock/waterlock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/waterlock/waterlock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/waterlock/waterlock/git/refs{/sha}","trees_url":"https://api.github.com/repos/waterlock/waterlock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/waterlock/waterlock/statuses/{sha}","languages_url":"https://api.github.com/repos/waterlock/waterlock/languages","stargazers_url":"https://api.github.com/repos/waterlock/waterlock/stargazers","contributors_url":"https://api.github.com/repos/waterlock/waterlock/contributors","subscribers_url":"https://api.github.com/repos/waterlock/waterlock/subscribers","subscription_url":"https://api.github.com/repos/waterlock/waterlock/subscription","commits_url":"https://api.github.com/repos/waterlock/waterlock/commits{/sha}","git_commits_url":"https://api.github.com/repos/waterlock/waterlock/git/commits{/sha}","comments_url":"https://api.github.com/repos/waterlock/waterlock/comments{/number}","issue_comment_url":"https://api.github.com/repos/waterlock/waterlock/issues/comments{/number}","contents_url":"https://api.github.com/repos/waterlock/waterlock/contents/{+path}","compare_url":"https://api.github.com/repos/waterlock/waterlock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/waterlock/waterlock/merges","archive_url":"https://api.github.com/repos/waterlock/waterlock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/waterlock/waterlock/downloads","issues_url":"https://api.github.com/repos/waterlock/waterlock/issues{/number}","pulls_url":"https://api.github.com/repos/waterlock/waterlock/pulls{/number}","milestones_url":"https://api.github.com/repos/waterlock/waterlock/milestones{/number}","notifications_url":"https://api.github.com/repos/waterlock/waterlock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/waterlock/waterlock/labels{/name}","releases_url":"https://api.github.com/repos/waterlock/waterlock/releases{/id}","deployments_url":"https://api.github.com/repos/waterlock/waterlock/deployments","created_at":"2014-05-27T02:17:34Z","updated_at":"2016-09-28T09:17:50Z","pushed_at":"2016-09-19T08:57:43Z","git_url":"git://github.com/waterlock/waterlock.git","ssh_url":"git@github.com:waterlock/waterlock.git","clone_url":"https://github.com/waterlock/waterlock.git","svn_url":"https://github.com/waterlock/waterlock","homepage":"http://waterlock.ninja","size":828,"stargazers_count":301,"watchers_count":301,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":82,"mirror_url":null,"open_issues_count":68,"forks":82,"open_issues":68,"watchers":301,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/waterlock/waterlock/pulls/140"},"html":{"href":"https://github.com/waterlock/waterlock/pull/140"},"issue":{"href":"https://api.github.com/repos/waterlock/waterlock/issues/140"},"comments":{"href":"https://api.github.com/repos/waterlock/waterlock/issues/140/comments"},"review_comments":{"href":"https://api.github.com/repos/waterlock/waterlock/pulls/140/comments"},"review_comment":{"href":"https://api.github.com/repos/waterlock/waterlock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/waterlock/waterlock/pulls/140/commits"},"statuses":{"href":"https://api.github.com/repos/waterlock/waterlock/statuses/44f9fe0392cdea1c0f87252cee82e7cc4dc40d7d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"ahmedNY"}}