{"action":"opened","number":78,"pull_request":{"url":"https://api.github.com/repos/tymondesigns/jwt-auth/pulls/78","id":32657204,"html_url":"https://github.com/tymondesigns/jwt-auth/pull/78","diff_url":"https://github.com/tymondesigns/jwt-auth/pull/78.diff","patch_url":"https://github.com/tymondesigns/jwt-auth/pull/78.patch","issue_url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/78","number":78,"state":"open","locked":false,"title":"Bug Fix for Refresh Token middleware raising 'Token is Blacklisted' erro...","user":{"login":"manadan999","id":2565594,"avatar_url":"https://avatars.githubusercontent.com/u/2565594?v=3","gravatar_id":"","url":"https://api.github.com/users/manadan999","html_url":"https://github.com/manadan999","followers_url":"https://api.github.com/users/manadan999/followers","following_url":"https://api.github.com/users/manadan999/following{/other_user}","gists_url":"https://api.github.com/users/manadan999/gists{/gist_id}","starred_url":"https://api.github.com/users/manadan999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manadan999/subscriptions","organizations_url":"https://api.github.com/users/manadan999/orgs","repos_url":"https://api.github.com/users/manadan999/repos","events_url":"https://api.github.com/users/manadan999/events{/privacy}","received_events_url":"https://api.github.com/users/manadan999/received_events","type":"User","site_admin":false},"body":"...r.\r\n\r\nIt was creating a new token and invalidating the current request token before processing the request. So by the time 'after middleware' kicks in, its current token is already invalid. This fix is all it needs.","created_at":"2015-04-06T00:44:48Z","updated_at":"2015-04-06T00:44:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df8a28e483e29697b6becaa50bbde56d15af0a19","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tymondesigns/jwt-auth/pulls/78/commits","review_comments_url":"https://api.github.com/repos/tymondesigns/jwt-auth/pulls/78/comments","review_comment_url":"https://api.github.com/repos/tymondesigns/jwt-auth/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/78/comments","statuses_url":"https://api.github.com/repos/tymondesigns/jwt-auth/statuses/05af04bf703664c82953d15050a9eb66db07e632","head":{"label":"manadan999:patch-1","ref":"patch-1","sha":"05af04bf703664c82953d15050a9eb66db07e632","user":{"login":"manadan999","id":2565594,"avatar_url":"https://avatars.githubusercontent.com/u/2565594?v=3","gravatar_id":"","url":"https://api.github.com/users/manadan999","html_url":"https://github.com/manadan999","followers_url":"https://api.github.com/users/manadan999/followers","following_url":"https://api.github.com/users/manadan999/following{/other_user}","gists_url":"https://api.github.com/users/manadan999/gists{/gist_id}","starred_url":"https://api.github.com/users/manadan999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manadan999/subscriptions","organizations_url":"https://api.github.com/users/manadan999/orgs","repos_url":"https://api.github.com/users/manadan999/repos","events_url":"https://api.github.com/users/manadan999/events{/privacy}","received_events_url":"https://api.github.com/users/manadan999/received_events","type":"User","site_admin":false},"repo":{"id":33460292,"name":"jwt-auth","full_name":"manadan999/jwt-auth","owner":{"login":"manadan999","id":2565594,"avatar_url":"https://avatars.githubusercontent.com/u/2565594?v=3","gravatar_id":"","url":"https://api.github.com/users/manadan999","html_url":"https://github.com/manadan999","followers_url":"https://api.github.com/users/manadan999/followers","following_url":"https://api.github.com/users/manadan999/following{/other_user}","gists_url":"https://api.github.com/users/manadan999/gists{/gist_id}","starred_url":"https://api.github.com/users/manadan999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manadan999/subscriptions","organizations_url":"https://api.github.com/users/manadan999/orgs","repos_url":"https://api.github.com/users/manadan999/repos","events_url":"https://api.github.com/users/manadan999/events{/privacy}","received_events_url":"https://api.github.com/users/manadan999/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/manadan999/jwt-auth","description":"JSON Web Token Authentication for Laravel","fork":true,"url":"https://api.github.com/repos/manadan999/jwt-auth","forks_url":"https://api.github.com/repos/manadan999/jwt-auth/forks","keys_url":"https://api.github.com/repos/manadan999/jwt-auth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/manadan999/jwt-auth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/manadan999/jwt-auth/teams","hooks_url":"https://api.github.com/repos/manadan999/jwt-auth/hooks","issue_events_url":"https://api.github.com/repos/manadan999/jwt-auth/issues/events{/number}","events_url":"https://api.github.com/repos/manadan999/jwt-auth/events","assignees_url":"https://api.github.com/repos/manadan999/jwt-auth/assignees{/user}","branches_url":"https://api.github.com/repos/manadan999/jwt-auth/branches{/branch}","tags_url":"https://api.github.com/repos/manadan999/jwt-auth/tags","blobs_url":"https://api.github.com/repos/manadan999/jwt-auth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/manadan999/jwt-auth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/manadan999/jwt-auth/git/refs{/sha}","trees_url":"https://api.github.com/repos/manadan999/jwt-auth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/manadan999/jwt-auth/statuses/{sha}","languages_url":"https://api.github.com/repos/manadan999/jwt-auth/languages","stargazers_url":"https://api.github.com/repos/manadan999/jwt-auth/stargazers","contributors_url":"https://api.github.com/repos/manadan999/jwt-auth/contributors","subscribers_url":"https://api.github.com/repos/manadan999/jwt-auth/subscribers","subscription_url":"https://api.github.com/repos/manadan999/jwt-auth/subscription","commits_url":"https://api.github.com/repos/manadan999/jwt-auth/commits{/sha}","git_commits_url":"https://api.github.com/repos/manadan999/jwt-auth/git/commits{/sha}","comments_url":"https://api.github.com/repos/manadan999/jwt-auth/comments{/number}","issue_comment_url":"https://api.github.com/repos/manadan999/jwt-auth/issues/comments{/number}","contents_url":"https://api.github.com/repos/manadan999/jwt-auth/contents/{+path}","compare_url":"https://api.github.com/repos/manadan999/jwt-auth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/manadan999/jwt-auth/merges","archive_url":"https://api.github.com/repos/manadan999/jwt-auth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/manadan999/jwt-auth/downloads","issues_url":"https://api.github.com/repos/manadan999/jwt-auth/issues{/number}","pulls_url":"https://api.github.com/repos/manadan999/jwt-auth/pulls{/number}","milestones_url":"https://api.github.com/repos/manadan999/jwt-auth/milestones{/number}","notifications_url":"https://api.github.com/repos/manadan999/jwt-auth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/manadan999/jwt-auth/labels{/name}","releases_url":"https://api.github.com/repos/manadan999/jwt-auth/releases{/id}","created_at":"2015-04-06T00:39:13Z","updated_at":"2015-04-06T00:39:13Z","pushed_at":"2015-04-06T00:44:41Z","git_url":"git://github.com/manadan999/jwt-auth.git","ssh_url":"git@github.com:manadan999/jwt-auth.git","clone_url":"https://github.com/manadan999/jwt-auth.git","svn_url":"https://github.com/manadan999/jwt-auth","homepage":"","size":2080,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"tymondesigns:laravel-5","ref":"laravel-5","sha":"3515feccd78a6489a0318095be0804dc5f53c569","user":{"login":"tymondesigns","id":1801923,"avatar_url":"https://avatars.githubusercontent.com/u/1801923?v=3","gravatar_id":"","url":"https://api.github.com/users/tymondesigns","html_url":"https://github.com/tymondesigns","followers_url":"https://api.github.com/users/tymondesigns/followers","following_url":"https://api.github.com/users/tymondesigns/following{/other_user}","gists_url":"https://api.github.com/users/tymondesigns/gists{/gist_id}","starred_url":"https://api.github.com/users/tymondesigns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tymondesigns/subscriptions","organizations_url":"https://api.github.com/users/tymondesigns/orgs","repos_url":"https://api.github.com/users/tymondesigns/repos","events_url":"https://api.github.com/users/tymondesigns/events{/privacy}","received_events_url":"https://api.github.com/users/tymondesigns/received_events","type":"User","site_admin":false},"repo":{"id":23680678,"name":"jwt-auth","full_name":"tymondesigns/jwt-auth","owner":{"login":"tymondesigns","id":1801923,"avatar_url":"https://avatars.githubusercontent.com/u/1801923?v=3","gravatar_id":"","url":"https://api.github.com/users/tymondesigns","html_url":"https://github.com/tymondesigns","followers_url":"https://api.github.com/users/tymondesigns/followers","following_url":"https://api.github.com/users/tymondesigns/following{/other_user}","gists_url":"https://api.github.com/users/tymondesigns/gists{/gist_id}","starred_url":"https://api.github.com/users/tymondesigns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tymondesigns/subscriptions","organizations_url":"https://api.github.com/users/tymondesigns/orgs","repos_url":"https://api.github.com/users/tymondesigns/repos","events_url":"https://api.github.com/users/tymondesigns/events{/privacy}","received_events_url":"https://api.github.com/users/tymondesigns/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tymondesigns/jwt-auth","description":"JSON Web Token Authentication for Laravel","fork":false,"url":"https://api.github.com/repos/tymondesigns/jwt-auth","forks_url":"https://api.github.com/repos/tymondesigns/jwt-auth/forks","keys_url":"https://api.github.com/repos/tymondesigns/jwt-auth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tymondesigns/jwt-auth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tymondesigns/jwt-auth/teams","hooks_url":"https://api.github.com/repos/tymondesigns/jwt-auth/hooks","issue_events_url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/events{/number}","events_url":"https://api.github.com/repos/tymondesigns/jwt-auth/events","assignees_url":"https://api.github.com/repos/tymondesigns/jwt-auth/assignees{/user}","branches_url":"https://api.github.com/repos/tymondesigns/jwt-auth/branches{/branch}","tags_url":"https://api.github.com/repos/tymondesigns/jwt-auth/tags","blobs_url":"https://api.github.com/repos/tymondesigns/jwt-auth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tymondesigns/jwt-auth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tymondesigns/jwt-auth/git/refs{/sha}","trees_url":"https://api.github.com/repos/tymondesigns/jwt-auth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tymondesigns/jwt-auth/statuses/{sha}","languages_url":"https://api.github.com/repos/tymondesigns/jwt-auth/languages","stargazers_url":"https://api.github.com/repos/tymondesigns/jwt-auth/stargazers","contributors_url":"https://api.github.com/repos/tymondesigns/jwt-auth/contributors","subscribers_url":"https://api.github.com/repos/tymondesigns/jwt-auth/subscribers","subscription_url":"https://api.github.com/repos/tymondesigns/jwt-auth/subscription","commits_url":"https://api.github.com/repos/tymondesigns/jwt-auth/commits{/sha}","git_commits_url":"https://api.github.com/repos/tymondesigns/jwt-auth/git/commits{/sha}","comments_url":"https://api.github.com/repos/tymondesigns/jwt-auth/comments{/number}","issue_comment_url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/comments{/number}","contents_url":"https://api.github.com/repos/tymondesigns/jwt-auth/contents/{+path}","compare_url":"https://api.github.com/repos/tymondesigns/jwt-auth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tymondesigns/jwt-auth/merges","archive_url":"https://api.github.com/repos/tymondesigns/jwt-auth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tymondesigns/jwt-auth/downloads","issues_url":"https://api.github.com/repos/tymondesigns/jwt-auth/issues{/number}","pulls_url":"https://api.github.com/repos/tymondesigns/jwt-auth/pulls{/number}","milestones_url":"https://api.github.com/repos/tymondesigns/jwt-auth/milestones{/number}","notifications_url":"https://api.github.com/repos/tymondesigns/jwt-auth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tymondesigns/jwt-auth/labels{/name}","releases_url":"https://api.github.com/repos/tymondesigns/jwt-auth/releases{/id}","created_at":"2014-09-04T21:50:50Z","updated_at":"2015-04-05T22:39:22Z","pushed_at":"2015-04-06T00:44:48Z","git_url":"git://github.com/tymondesigns/jwt-auth.git","ssh_url":"git@github.com:tymondesigns/jwt-auth.git","clone_url":"https://github.com/tymondesigns/jwt-auth.git","svn_url":"https://github.com/tymondesigns/jwt-auth","homepage":"","size":2080,"stargazers_count":178,"watchers_count":178,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":10,"forks":28,"open_issues":10,"watchers":178,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tymondesigns/jwt-auth/pulls/78"},"html":{"href":"https://github.com/tymondesigns/jwt-auth/pull/78"},"issue":{"href":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/78"},"comments":{"href":"https://api.github.com/repos/tymondesigns/jwt-auth/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/tymondesigns/jwt-auth/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/tymondesigns/jwt-auth/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tymondesigns/jwt-auth/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/tymondesigns/jwt-auth/statuses/05af04bf703664c82953d15050a9eb66db07e632"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":3,"changed_files":1}}