{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/auth0/auth0-PHP/pulls/3","id":29500057,"html_url":"https://github.com/auth0/auth0-PHP/pull/3","diff_url":"https://github.com/auth0/auth0-PHP/pull/3.diff","patch_url":"https://github.com/auth0/auth0-PHP/pull/3.patch","issue_url":"https://api.github.com/repos/auth0/auth0-PHP/issues/3","number":3,"state":"closed","locked":false,"title":"Handle any exception that gets thrown during JWT verification","user":{"login":"mikesir87","id":746837,"avatar_url":"https://avatars.githubusercontent.com/u/746837?v=3","gravatar_id":"","url":"https://api.github.com/users/mikesir87","html_url":"https://github.com/mikesir87","followers_url":"https://api.github.com/users/mikesir87/followers","following_url":"https://api.github.com/users/mikesir87/following{/other_user}","gists_url":"https://api.github.com/users/mikesir87/gists{/gist_id}","starred_url":"https://api.github.com/users/mikesir87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikesir87/subscriptions","organizations_url":"https://api.github.com/users/mikesir87/orgs","repos_url":"https://api.github.com/users/mikesir87/repos","events_url":"https://api.github.com/users/mikesir87/events{/privacy}","received_events_url":"https://api.github.com/users/mikesir87/received_events","type":"User","site_admin":false},"body":"The seed project's CLIENT_SECRET is the app's client secret.\r\nHowever, in the case of using RS256, this is the wrong secret. So,\r\nwhen verification occurs, a DomainException is thrown from the\r\nopenssl code as the secret is not a valid public key. So, at least\r\nhandle the exception and return a 500 so the frontend can treat it\r\nas an error, rather than a 200 OK when it didn't actually work\r\n(I've submitted a pull-request to handle the error through the\r\nangular seed project too)","created_at":"2015-02-18T04:08:05Z","updated_at":"2016-05-09T14:39:01Z","closed_at":"2016-05-09T14:39:01Z","merged_at":null,"merge_commit_sha":"5ae38d9f82f073955c5f3cb6e8781defc85fe091","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/auth0/auth0-PHP/pulls/3/commits","review_comments_url":"https://api.github.com/repos/auth0/auth0-PHP/pulls/3/comments","review_comment_url":"https://api.github.com/repos/auth0/auth0-PHP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/auth0/auth0-PHP/issues/3/comments","statuses_url":"https://api.github.com/repos/auth0/auth0-PHP/statuses/c80b3ea12211bf384157c03545d13054e56f5ca9","head":{"label":"mikesir87:master","ref":"master","sha":"c80b3ea12211bf384157c03545d13054e56f5ca9","user":{"login":"mikesir87","id":746837,"avatar_url":"https://avatars.githubusercontent.com/u/746837?v=3","gravatar_id":"","url":"https://api.github.com/users/mikesir87","html_url":"https://github.com/mikesir87","followers_url":"https://api.github.com/users/mikesir87/followers","following_url":"https://api.github.com/users/mikesir87/following{/other_user}","gists_url":"https://api.github.com/users/mikesir87/gists{/gist_id}","starred_url":"https://api.github.com/users/mikesir87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikesir87/subscriptions","organizations_url":"https://api.github.com/users/mikesir87/orgs","repos_url":"https://api.github.com/users/mikesir87/repos","events_url":"https://api.github.com/users/mikesir87/events{/privacy}","received_events_url":"https://api.github.com/users/mikesir87/received_events","type":"User","site_admin":false},"repo":{"id":30951418,"name":"auth0-PHP","full_name":"mikesir87/auth0-PHP","owner":{"login":"mikesir87","id":746837,"avatar_url":"https://avatars.githubusercontent.com/u/746837?v=3","gravatar_id":"","url":"https://api.github.com/users/mikesir87","html_url":"https://github.com/mikesir87","followers_url":"https://api.github.com/users/mikesir87/followers","following_url":"https://api.github.com/users/mikesir87/following{/other_user}","gists_url":"https://api.github.com/users/mikesir87/gists{/gist_id}","starred_url":"https://api.github.com/users/mikesir87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikesir87/subscriptions","organizations_url":"https://api.github.com/users/mikesir87/orgs","repos_url":"https://api.github.com/users/mikesir87/repos","events_url":"https://api.github.com/users/mikesir87/events{/privacy}","received_events_url":"https://api.github.com/users/mikesir87/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikesir87/auth0-PHP","description":"Auth0-PHP SDK","fork":true,"url":"https://api.github.com/repos/mikesir87/auth0-PHP","forks_url":"https://api.github.com/repos/mikesir87/auth0-PHP/forks","keys_url":"https://api.github.com/repos/mikesir87/auth0-PHP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikesir87/auth0-PHP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikesir87/auth0-PHP/teams","hooks_url":"https://api.github.com/repos/mikesir87/auth0-PHP/hooks","issue_events_url":"https://api.github.com/repos/mikesir87/auth0-PHP/issues/events{/number}","events_url":"https://api.github.com/repos/mikesir87/auth0-PHP/events","assignees_url":"https://api.github.com/repos/mikesir87/auth0-PHP/assignees{/user}","branches_url":"https://api.github.com/repos/mikesir87/auth0-PHP/branches{/branch}","tags_url":"https://api.github.com/repos/mikesir87/auth0-PHP/tags","blobs_url":"https://api.github.com/repos/mikesir87/auth0-PHP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikesir87/auth0-PHP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikesir87/auth0-PHP/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikesir87/auth0-PHP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikesir87/auth0-PHP/statuses/{sha}","languages_url":"https://api.github.com/repos/mikesir87/auth0-PHP/languages","stargazers_url":"https://api.github.com/repos/mikesir87/auth0-PHP/stargazers","contributors_url":"https://api.github.com/repos/mikesir87/auth0-PHP/contributors","subscribers_url":"https://api.github.com/repos/mikesir87/auth0-PHP/subscribers","subscription_url":"https://api.github.com/repos/mikesir87/auth0-PHP/subscription","commits_url":"https://api.github.com/repos/mikesir87/auth0-PHP/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikesir87/auth0-PHP/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikesir87/auth0-PHP/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikesir87/auth0-PHP/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikesir87/auth0-PHP/contents/{+path}","compare_url":"https://api.github.com/repos/mikesir87/auth0-PHP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikesir87/auth0-PHP/merges","archive_url":"https://api.github.com/repos/mikesir87/auth0-PHP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikesir87/auth0-PHP/downloads","issues_url":"https://api.github.com/repos/mikesir87/auth0-PHP/issues{/number}","pulls_url":"https://api.github.com/repos/mikesir87/auth0-PHP/pulls{/number}","milestones_url":"https://api.github.com/repos/mikesir87/auth0-PHP/milestones{/number}","notifications_url":"https://api.github.com/repos/mikesir87/auth0-PHP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikesir87/auth0-PHP/labels{/name}","releases_url":"https://api.github.com/repos/mikesir87/auth0-PHP/releases{/id}","deployments_url":"https://api.github.com/repos/mikesir87/auth0-PHP/deployments","created_at":"2015-02-18T04:03:33Z","updated_at":"2016-04-07T14:07:23Z","pushed_at":"2015-02-18T04:07:53Z","git_url":"git://github.com/mikesir87/auth0-PHP.git","ssh_url":"git@github.com:mikesir87/auth0-PHP.git","clone_url":"https://github.com/mikesir87/auth0-PHP.git","svn_url":"https://github.com/mikesir87/auth0-PHP","homepage":null,"size":181,"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":"auth0:master","ref":"master","sha":"7850914fe061f6e78cec4e27146acaacd7efc067","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":13683710,"name":"auth0-PHP","full_name":"auth0/auth0-PHP","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/auth0-PHP","description":"Auth0-PHP SDK","fork":false,"url":"https://api.github.com/repos/auth0/auth0-PHP","forks_url":"https://api.github.com/repos/auth0/auth0-PHP/forks","keys_url":"https://api.github.com/repos/auth0/auth0-PHP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/auth0/auth0-PHP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/auth0/auth0-PHP/teams","hooks_url":"https://api.github.com/repos/auth0/auth0-PHP/hooks","issue_events_url":"https://api.github.com/repos/auth0/auth0-PHP/issues/events{/number}","events_url":"https://api.github.com/repos/auth0/auth0-PHP/events","assignees_url":"https://api.github.com/repos/auth0/auth0-PHP/assignees{/user}","branches_url":"https://api.github.com/repos/auth0/auth0-PHP/branches{/branch}","tags_url":"https://api.github.com/repos/auth0/auth0-PHP/tags","blobs_url":"https://api.github.com/repos/auth0/auth0-PHP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/auth0/auth0-PHP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/auth0/auth0-PHP/git/refs{/sha}","trees_url":"https://api.github.com/repos/auth0/auth0-PHP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/auth0/auth0-PHP/statuses/{sha}","languages_url":"https://api.github.com/repos/auth0/auth0-PHP/languages","stargazers_url":"https://api.github.com/repos/auth0/auth0-PHP/stargazers","contributors_url":"https://api.github.com/repos/auth0/auth0-PHP/contributors","subscribers_url":"https://api.github.com/repos/auth0/auth0-PHP/subscribers","subscription_url":"https://api.github.com/repos/auth0/auth0-PHP/subscription","commits_url":"https://api.github.com/repos/auth0/auth0-PHP/commits{/sha}","git_commits_url":"https://api.github.com/repos/auth0/auth0-PHP/git/commits{/sha}","comments_url":"https://api.github.com/repos/auth0/auth0-PHP/comments{/number}","issue_comment_url":"https://api.github.com/repos/auth0/auth0-PHP/issues/comments{/number}","contents_url":"https://api.github.com/repos/auth0/auth0-PHP/contents/{+path}","compare_url":"https://api.github.com/repos/auth0/auth0-PHP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/auth0/auth0-PHP/merges","archive_url":"https://api.github.com/repos/auth0/auth0-PHP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/auth0/auth0-PHP/downloads","issues_url":"https://api.github.com/repos/auth0/auth0-PHP/issues{/number}","pulls_url":"https://api.github.com/repos/auth0/auth0-PHP/pulls{/number}","milestones_url":"https://api.github.com/repos/auth0/auth0-PHP/milestones{/number}","notifications_url":"https://api.github.com/repos/auth0/auth0-PHP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/auth0/auth0-PHP/labels{/name}","releases_url":"https://api.github.com/repos/auth0/auth0-PHP/releases{/id}","deployments_url":"https://api.github.com/repos/auth0/auth0-PHP/deployments","created_at":"2013-10-18T16:51:11Z","updated_at":"2016-05-09T09:27:04Z","pushed_at":"2016-05-09T14:38:14Z","git_url":"git://github.com/auth0/auth0-PHP.git","ssh_url":"git@github.com:auth0/auth0-PHP.git","clone_url":"https://github.com/auth0/auth0-PHP.git","svn_url":"https://github.com/auth0/auth0-PHP","homepage":null,"size":286,"stargazers_count":24,"watchers_count":24,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":3,"forks":30,"open_issues":3,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/auth0/auth0-PHP/pulls/3"},"html":{"href":"https://github.com/auth0/auth0-PHP/pull/3"},"issue":{"href":"https://api.github.com/repos/auth0/auth0-PHP/issues/3"},"comments":{"href":"https://api.github.com/repos/auth0/auth0-PHP/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/auth0/auth0-PHP/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/auth0/auth0-PHP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/auth0/auth0-PHP/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/auth0/auth0-PHP/statuses/c80b3ea12211bf384157c03545d13054e56f5ca9"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":3,"commits":1,"additions":5,"deletions":0,"changed_files":1}}