{"action":"opened","number":11,"pull_request":{"url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/pulls/11","id":35491791,"html_url":"https://github.com/jaredhanson/passport-http-oauth/pull/11","diff_url":"https://github.com/jaredhanson/passport-http-oauth/pull/11.diff","patch_url":"https://github.com/jaredhanson/passport-http-oauth/pull/11.patch","issue_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/issues/11","number":11,"state":"open","locked":false,"title":"utils.originalURL method fixed to support express routers","user":{"login":"denisjarus","id":1133491,"avatar_url":"https://avatars.githubusercontent.com/u/1133491?v=3","gravatar_id":"","url":"https://api.github.com/users/denisjarus","html_url":"https://github.com/denisjarus","followers_url":"https://api.github.com/users/denisjarus/followers","following_url":"https://api.github.com/users/denisjarus/following{/other_user}","gists_url":"https://api.github.com/users/denisjarus/gists{/gist_id}","starred_url":"https://api.github.com/users/denisjarus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denisjarus/subscriptions","organizations_url":"https://api.github.com/users/denisjarus/orgs","repos_url":"https://api.github.com/users/denisjarus/repos","events_url":"https://api.github.com/users/denisjarus/events{/privacy}","received_events_url":"https://api.github.com/users/denisjarus/received_events","type":"User","site_admin":false},"body":"invalid_signature error is thrown when using strategies with express router because of req.url being changed by express and an incorrect signature generated as a result. This one is a more correct solution than in another pull request fixing the same issue (https://github.com/jaredhanson/passport-http-oauth/pull/10) as req.originalUrl used by @tinnou also has all the query string parameters in it, while req.baseUrl + req.url is a correct full path for express requests going through a router.","created_at":"2015-05-15T07:55:02Z","updated_at":"2015-05-15T07:55:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"26ca2560e646a000d5bd3cbe1b3077074a5d9e79","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/pulls/11/commits","review_comments_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/pulls/11/comments","review_comment_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/issues/11/comments","statuses_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/statuses/41da4692b80e00ac6f03af57c9b2265314cafa34","head":{"label":"denisjarus:master","ref":"master","sha":"41da4692b80e00ac6f03af57c9b2265314cafa34","user":{"login":"denisjarus","id":1133491,"avatar_url":"https://avatars.githubusercontent.com/u/1133491?v=3","gravatar_id":"","url":"https://api.github.com/users/denisjarus","html_url":"https://github.com/denisjarus","followers_url":"https://api.github.com/users/denisjarus/followers","following_url":"https://api.github.com/users/denisjarus/following{/other_user}","gists_url":"https://api.github.com/users/denisjarus/gists{/gist_id}","starred_url":"https://api.github.com/users/denisjarus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denisjarus/subscriptions","organizations_url":"https://api.github.com/users/denisjarus/orgs","repos_url":"https://api.github.com/users/denisjarus/repos","events_url":"https://api.github.com/users/denisjarus/events{/privacy}","received_events_url":"https://api.github.com/users/denisjarus/received_events","type":"User","site_admin":false},"repo":{"id":35660237,"name":"passport-http-oauth","full_name":"denisjarus/passport-http-oauth","owner":{"login":"denisjarus","id":1133491,"avatar_url":"https://avatars.githubusercontent.com/u/1133491?v=3","gravatar_id":"","url":"https://api.github.com/users/denisjarus","html_url":"https://github.com/denisjarus","followers_url":"https://api.github.com/users/denisjarus/followers","following_url":"https://api.github.com/users/denisjarus/following{/other_user}","gists_url":"https://api.github.com/users/denisjarus/gists{/gist_id}","starred_url":"https://api.github.com/users/denisjarus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denisjarus/subscriptions","organizations_url":"https://api.github.com/users/denisjarus/orgs","repos_url":"https://api.github.com/users/denisjarus/repos","events_url":"https://api.github.com/users/denisjarus/events{/privacy}","received_events_url":"https://api.github.com/users/denisjarus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/denisjarus/passport-http-oauth","description":"HTTP OAuth authentication strategy for Passport and Node.js.","fork":true,"url":"https://api.github.com/repos/denisjarus/passport-http-oauth","forks_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/forks","keys_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/teams","hooks_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/hooks","issue_events_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/issues/events{/number}","events_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/events","assignees_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/assignees{/user}","branches_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/branches{/branch}","tags_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/tags","blobs_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/git/refs{/sha}","trees_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/statuses/{sha}","languages_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/languages","stargazers_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/stargazers","contributors_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/contributors","subscribers_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/subscribers","subscription_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/subscription","commits_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/commits{/sha}","git_commits_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/git/commits{/sha}","comments_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/comments{/number}","issue_comment_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/issues/comments{/number}","contents_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/contents/{+path}","compare_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/merges","archive_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/downloads","issues_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/issues{/number}","pulls_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/pulls{/number}","milestones_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/milestones{/number}","notifications_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/labels{/name}","releases_url":"https://api.github.com/repos/denisjarus/passport-http-oauth/releases{/id}","created_at":"2015-05-15T07:30:18Z","updated_at":"2015-05-15T07:30:18Z","pushed_at":"2015-05-15T07:46:10Z","git_url":"git://github.com/denisjarus/passport-http-oauth.git","ssh_url":"git@github.com:denisjarus/passport-http-oauth.git","clone_url":"https://github.com/denisjarus/passport-http-oauth.git","svn_url":"https://github.com/denisjarus/passport-http-oauth","homepage":null,"size":179,"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":"jaredhanson:master","ref":"master","sha":"18de16da6dc23fbfffc89605fd19dec2a23f8b0a","user":{"login":"jaredhanson","id":10355,"avatar_url":"https://avatars.githubusercontent.com/u/10355?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredhanson","html_url":"https://github.com/jaredhanson","followers_url":"https://api.github.com/users/jaredhanson/followers","following_url":"https://api.github.com/users/jaredhanson/following{/other_user}","gists_url":"https://api.github.com/users/jaredhanson/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredhanson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredhanson/subscriptions","organizations_url":"https://api.github.com/users/jaredhanson/orgs","repos_url":"https://api.github.com/users/jaredhanson/repos","events_url":"https://api.github.com/users/jaredhanson/events{/privacy}","received_events_url":"https://api.github.com/users/jaredhanson/received_events","type":"User","site_admin":false},"repo":{"id":4580869,"name":"passport-http-oauth","full_name":"jaredhanson/passport-http-oauth","owner":{"login":"jaredhanson","id":10355,"avatar_url":"https://avatars.githubusercontent.com/u/10355?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredhanson","html_url":"https://github.com/jaredhanson","followers_url":"https://api.github.com/users/jaredhanson/followers","following_url":"https://api.github.com/users/jaredhanson/following{/other_user}","gists_url":"https://api.github.com/users/jaredhanson/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredhanson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredhanson/subscriptions","organizations_url":"https://api.github.com/users/jaredhanson/orgs","repos_url":"https://api.github.com/users/jaredhanson/repos","events_url":"https://api.github.com/users/jaredhanson/events{/privacy}","received_events_url":"https://api.github.com/users/jaredhanson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jaredhanson/passport-http-oauth","description":"HTTP OAuth authentication strategy for Passport and Node.js.","fork":false,"url":"https://api.github.com/repos/jaredhanson/passport-http-oauth","forks_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/forks","keys_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/teams","hooks_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/hooks","issue_events_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/issues/events{/number}","events_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/events","assignees_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/assignees{/user}","branches_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/branches{/branch}","tags_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/tags","blobs_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/git/refs{/sha}","trees_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/statuses/{sha}","languages_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/languages","stargazers_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/stargazers","contributors_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/contributors","subscribers_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/subscribers","subscription_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/subscription","commits_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/commits{/sha}","git_commits_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/git/commits{/sha}","comments_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/comments{/number}","issue_comment_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/issues/comments{/number}","contents_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/contents/{+path}","compare_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/merges","archive_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/downloads","issues_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/issues{/number}","pulls_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/pulls{/number}","milestones_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/milestones{/number}","notifications_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/labels{/name}","releases_url":"https://api.github.com/repos/jaredhanson/passport-http-oauth/releases{/id}","created_at":"2012-06-07T03:37:14Z","updated_at":"2015-04-02T08:49:05Z","pushed_at":"2015-05-15T07:55:02Z","git_url":"git://github.com/jaredhanson/passport-http-oauth.git","ssh_url":"git@github.com:jaredhanson/passport-http-oauth.git","clone_url":"https://github.com/jaredhanson/passport-http-oauth.git","svn_url":"https://github.com/jaredhanson/passport-http-oauth","homepage":null,"size":217,"stargazers_count":43,"watchers_count":43,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":3,"forks":15,"open_issues":3,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jaredhanson/passport-http-oauth/pulls/11"},"html":{"href":"https://github.com/jaredhanson/passport-http-oauth/pull/11"},"issue":{"href":"https://api.github.com/repos/jaredhanson/passport-http-oauth/issues/11"},"comments":{"href":"https://api.github.com/repos/jaredhanson/passport-http-oauth/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/jaredhanson/passport-http-oauth/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/jaredhanson/passport-http-oauth/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jaredhanson/passport-http-oauth/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/jaredhanson/passport-http-oauth/statuses/41da4692b80e00ac6f03af57c9b2265314cafa34"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}