{"action":"closed","number":79,"pull_request":{"url":"https://api.github.com/repos/auth0/express-jwt/pulls/79","id":35909908,"html_url":"https://github.com/auth0/express-jwt/pull/79","diff_url":"https://github.com/auth0/express-jwt/pull/79.diff","patch_url":"https://github.com/auth0/express-jwt/pull/79.patch","issue_url":"https://api.github.com/repos/auth0/express-jwt/issues/79","number":79,"state":"closed","locked":false,"title":"Fallback to headers if custom getToken function does not return a token","user":{"login":"simoneb","id":20181,"avatar_url":"https://avatars.githubusercontent.com/u/20181?v=3","gravatar_id":"","url":"https://api.github.com/users/simoneb","html_url":"https://github.com/simoneb","followers_url":"https://api.github.com/users/simoneb/followers","following_url":"https://api.github.com/users/simoneb/following{/other_user}","gists_url":"https://api.github.com/users/simoneb/gists{/gist_id}","starred_url":"https://api.github.com/users/simoneb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simoneb/subscriptions","organizations_url":"https://api.github.com/users/simoneb/orgs","repos_url":"https://api.github.com/users/simoneb/repos","events_url":"https://api.github.com/users/simoneb/events{/privacy}","received_events_url":"https://api.github.com/users/simoneb/received_events","type":"User","site_admin":false},"body":"Also: Fix tests by resetting req and res objects before each test\r\n\r\nAs mentioned in #78 ","created_at":"2015-05-21T08:20:37Z","updated_at":"2015-11-09T10:38:15Z","closed_at":"2015-11-09T10:38:15Z","merged_at":null,"merge_commit_sha":"b7d7271bd6ea956aa53e8003694df51237d7f221","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/auth0/express-jwt/pulls/79/commits","review_comments_url":"https://api.github.com/repos/auth0/express-jwt/pulls/79/comments","review_comment_url":"https://api.github.com/repos/auth0/express-jwt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/auth0/express-jwt/issues/79/comments","statuses_url":"https://api.github.com/repos/auth0/express-jwt/statuses/457850ea1575cc5529c50e441def413bf70b0aa6","head":{"label":"simoneb:master","ref":"master","sha":"457850ea1575cc5529c50e441def413bf70b0aa6","user":{"login":"simoneb","id":20181,"avatar_url":"https://avatars.githubusercontent.com/u/20181?v=3","gravatar_id":"","url":"https://api.github.com/users/simoneb","html_url":"https://github.com/simoneb","followers_url":"https://api.github.com/users/simoneb/followers","following_url":"https://api.github.com/users/simoneb/following{/other_user}","gists_url":"https://api.github.com/users/simoneb/gists{/gist_id}","starred_url":"https://api.github.com/users/simoneb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simoneb/subscriptions","organizations_url":"https://api.github.com/users/simoneb/orgs","repos_url":"https://api.github.com/users/simoneb/repos","events_url":"https://api.github.com/users/simoneb/events{/privacy}","received_events_url":"https://api.github.com/users/simoneb/received_events","type":"User","site_admin":false},"repo":{"id":35999670,"name":"express-jwt","full_name":"simoneb/express-jwt","owner":{"login":"simoneb","id":20181,"avatar_url":"https://avatars.githubusercontent.com/u/20181?v=3","gravatar_id":"","url":"https://api.github.com/users/simoneb","html_url":"https://github.com/simoneb","followers_url":"https://api.github.com/users/simoneb/followers","following_url":"https://api.github.com/users/simoneb/following{/other_user}","gists_url":"https://api.github.com/users/simoneb/gists{/gist_id}","starred_url":"https://api.github.com/users/simoneb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simoneb/subscriptions","organizations_url":"https://api.github.com/users/simoneb/orgs","repos_url":"https://api.github.com/users/simoneb/repos","events_url":"https://api.github.com/users/simoneb/events{/privacy}","received_events_url":"https://api.github.com/users/simoneb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/simoneb/express-jwt","description":"connect/express middleware that validates a JsonWebToken (JWT) and set the req.user with the attributes","fork":true,"url":"https://api.github.com/repos/simoneb/express-jwt","forks_url":"https://api.github.com/repos/simoneb/express-jwt/forks","keys_url":"https://api.github.com/repos/simoneb/express-jwt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simoneb/express-jwt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simoneb/express-jwt/teams","hooks_url":"https://api.github.com/repos/simoneb/express-jwt/hooks","issue_events_url":"https://api.github.com/repos/simoneb/express-jwt/issues/events{/number}","events_url":"https://api.github.com/repos/simoneb/express-jwt/events","assignees_url":"https://api.github.com/repos/simoneb/express-jwt/assignees{/user}","branches_url":"https://api.github.com/repos/simoneb/express-jwt/branches{/branch}","tags_url":"https://api.github.com/repos/simoneb/express-jwt/tags","blobs_url":"https://api.github.com/repos/simoneb/express-jwt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simoneb/express-jwt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simoneb/express-jwt/git/refs{/sha}","trees_url":"https://api.github.com/repos/simoneb/express-jwt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simoneb/express-jwt/statuses/{sha}","languages_url":"https://api.github.com/repos/simoneb/express-jwt/languages","stargazers_url":"https://api.github.com/repos/simoneb/express-jwt/stargazers","contributors_url":"https://api.github.com/repos/simoneb/express-jwt/contributors","subscribers_url":"https://api.github.com/repos/simoneb/express-jwt/subscribers","subscription_url":"https://api.github.com/repos/simoneb/express-jwt/subscription","commits_url":"https://api.github.com/repos/simoneb/express-jwt/commits{/sha}","git_commits_url":"https://api.github.com/repos/simoneb/express-jwt/git/commits{/sha}","comments_url":"https://api.github.com/repos/simoneb/express-jwt/comments{/number}","issue_comment_url":"https://api.github.com/repos/simoneb/express-jwt/issues/comments{/number}","contents_url":"https://api.github.com/repos/simoneb/express-jwt/contents/{+path}","compare_url":"https://api.github.com/repos/simoneb/express-jwt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simoneb/express-jwt/merges","archive_url":"https://api.github.com/repos/simoneb/express-jwt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simoneb/express-jwt/downloads","issues_url":"https://api.github.com/repos/simoneb/express-jwt/issues{/number}","pulls_url":"https://api.github.com/repos/simoneb/express-jwt/pulls{/number}","milestones_url":"https://api.github.com/repos/simoneb/express-jwt/milestones{/number}","notifications_url":"https://api.github.com/repos/simoneb/express-jwt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simoneb/express-jwt/labels{/name}","releases_url":"https://api.github.com/repos/simoneb/express-jwt/releases{/id}","created_at":"2015-05-21T08:05:50Z","updated_at":"2015-05-21T08:05:51Z","pushed_at":"2015-05-21T08:19:19Z","git_url":"git://github.com/simoneb/express-jwt.git","ssh_url":"git@github.com:simoneb/express-jwt.git","clone_url":"https://github.com/simoneb/express-jwt.git","svn_url":"https://github.com/simoneb/express-jwt","homepage":null,"size":145,"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":"auth0:master","ref":"master","sha":"98867945814ded65055104253ac5742a7622e64f","user":{"login":"auth0","id":2824157,"avatar_url":"https://avatars.githubusercontent.com/u/2824157?v=3","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"repo":{"id":13783958,"name":"express-jwt","full_name":"auth0/express-jwt","owner":{"login":"auth0","id":2824157,"avatar_url":"https://avatars.githubusercontent.com/u/2824157?v=3","gravatar_id":"","url":"https://api.github.com/users/auth0","html_url":"https://github.com/auth0","followers_url":"https://api.github.com/users/auth0/followers","following_url":"https://api.github.com/users/auth0/following{/other_user}","gists_url":"https://api.github.com/users/auth0/gists{/gist_id}","starred_url":"https://api.github.com/users/auth0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auth0/subscriptions","organizations_url":"https://api.github.com/users/auth0/orgs","repos_url":"https://api.github.com/users/auth0/repos","events_url":"https://api.github.com/users/auth0/events{/privacy}","received_events_url":"https://api.github.com/users/auth0/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/auth0/express-jwt","description":"connect/express middleware that validates a JsonWebToken (JWT) and set the req.user with the attributes","fork":false,"url":"https://api.github.com/repos/auth0/express-jwt","forks_url":"https://api.github.com/repos/auth0/express-jwt/forks","keys_url":"https://api.github.com/repos/auth0/express-jwt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/auth0/express-jwt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/auth0/express-jwt/teams","hooks_url":"https://api.github.com/repos/auth0/express-jwt/hooks","issue_events_url":"https://api.github.com/repos/auth0/express-jwt/issues/events{/number}","events_url":"https://api.github.com/repos/auth0/express-jwt/events","assignees_url":"https://api.github.com/repos/auth0/express-jwt/assignees{/user}","branches_url":"https://api.github.com/repos/auth0/express-jwt/branches{/branch}","tags_url":"https://api.github.com/repos/auth0/express-jwt/tags","blobs_url":"https://api.github.com/repos/auth0/express-jwt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/auth0/express-jwt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/auth0/express-jwt/git/refs{/sha}","trees_url":"https://api.github.com/repos/auth0/express-jwt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/auth0/express-jwt/statuses/{sha}","languages_url":"https://api.github.com/repos/auth0/express-jwt/languages","stargazers_url":"https://api.github.com/repos/auth0/express-jwt/stargazers","contributors_url":"https://api.github.com/repos/auth0/express-jwt/contributors","subscribers_url":"https://api.github.com/repos/auth0/express-jwt/subscribers","subscription_url":"https://api.github.com/repos/auth0/express-jwt/subscription","commits_url":"https://api.github.com/repos/auth0/express-jwt/commits{/sha}","git_commits_url":"https://api.github.com/repos/auth0/express-jwt/git/commits{/sha}","comments_url":"https://api.github.com/repos/auth0/express-jwt/comments{/number}","issue_comment_url":"https://api.github.com/repos/auth0/express-jwt/issues/comments{/number}","contents_url":"https://api.github.com/repos/auth0/express-jwt/contents/{+path}","compare_url":"https://api.github.com/repos/auth0/express-jwt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/auth0/express-jwt/merges","archive_url":"https://api.github.com/repos/auth0/express-jwt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/auth0/express-jwt/downloads","issues_url":"https://api.github.com/repos/auth0/express-jwt/issues{/number}","pulls_url":"https://api.github.com/repos/auth0/express-jwt/pulls{/number}","milestones_url":"https://api.github.com/repos/auth0/express-jwt/milestones{/number}","notifications_url":"https://api.github.com/repos/auth0/express-jwt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/auth0/express-jwt/labels{/name}","releases_url":"https://api.github.com/repos/auth0/express-jwt/releases{/id}","created_at":"2013-10-22T19:45:55Z","updated_at":"2015-11-08T18:32:41Z","pushed_at":"2015-11-09T10:35:17Z","git_url":"git://github.com/auth0/express-jwt.git","ssh_url":"git@github.com:auth0/express-jwt.git","clone_url":"https://github.com/auth0/express-jwt.git","svn_url":"https://github.com/auth0/express-jwt","homepage":null,"size":662,"stargazers_count":550,"watchers_count":550,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":100,"mirror_url":null,"open_issues_count":18,"forks":100,"open_issues":18,"watchers":550,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/auth0/express-jwt/pulls/79"},"html":{"href":"https://github.com/auth0/express-jwt/pull/79"},"issue":{"href":"https://api.github.com/repos/auth0/express-jwt/issues/79"},"comments":{"href":"https://api.github.com/repos/auth0/express-jwt/issues/79/comments"},"review_comments":{"href":"https://api.github.com/repos/auth0/express-jwt/pulls/79/comments"},"review_comment":{"href":"https://api.github.com/repos/auth0/express-jwt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/auth0/express-jwt/pulls/79/commits"},"statuses":{"href":"https://api.github.com/repos/auth0/express-jwt/statuses/457850ea1575cc5529c50e441def413bf70b0aa6"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":23,"deletions":1,"changed_files":2}}