{"action":"opened","number":561,"pull_request":{"url":"https://api.github.com/repos/bitly/oauth2_proxy/pulls/561","id":173891568,"html_url":"https://github.com/bitly/oauth2_proxy/pull/561","diff_url":"https://github.com/bitly/oauth2_proxy/pull/561.diff","patch_url":"https://github.com/bitly/oauth2_proxy/pull/561.patch","issue_url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/561","number":561,"state":"open","locked":false,"title":"Strip JWT base64 padding before parsing. #560","user":{"login":"danopia","id":40628,"avatar_url":"https://avatars2.githubusercontent.com/u/40628?v=4","gravatar_id":"","url":"https://api.github.com/users/danopia","html_url":"https://github.com/danopia","followers_url":"https://api.github.com/users/danopia/followers","following_url":"https://api.github.com/users/danopia/following{/other_user}","gists_url":"https://api.github.com/users/danopia/gists{/gist_id}","starred_url":"https://api.github.com/users/danopia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danopia/subscriptions","organizations_url":"https://api.github.com/users/danopia/orgs","repos_url":"https://api.github.com/users/danopia/repos","events_url":"https://api.github.com/users/danopia/events{/privacy}","received_events_url":"https://api.github.com/users/danopia/received_events","type":"User","site_admin":false},"body":"This provider used to allow padding, until it was switched to the builtin RawURLEncoding. This PR fixes the regression by accepting padding again via throwing the padding away.\r\n\r\nGoogle doesn't include padding, but other OAuth2 servers may, and this provider is the default when using a custom provider.","created_at":"2018-03-09T00:46:39Z","updated_at":"2018-03-09T00:46:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bitly/oauth2_proxy/pulls/561/commits","review_comments_url":"https://api.github.com/repos/bitly/oauth2_proxy/pulls/561/comments","review_comment_url":"https://api.github.com/repos/bitly/oauth2_proxy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/561/comments","statuses_url":"https://api.github.com/repos/bitly/oauth2_proxy/statuses/542ef540939cbea0e58f4744a0216b68c9579ff6","head":{"label":"danopia:patch-1","ref":"patch-1","sha":"542ef540939cbea0e58f4744a0216b68c9579ff6","user":{"login":"danopia","id":40628,"avatar_url":"https://avatars2.githubusercontent.com/u/40628?v=4","gravatar_id":"","url":"https://api.github.com/users/danopia","html_url":"https://github.com/danopia","followers_url":"https://api.github.com/users/danopia/followers","following_url":"https://api.github.com/users/danopia/following{/other_user}","gists_url":"https://api.github.com/users/danopia/gists{/gist_id}","starred_url":"https://api.github.com/users/danopia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danopia/subscriptions","organizations_url":"https://api.github.com/users/danopia/orgs","repos_url":"https://api.github.com/users/danopia/repos","events_url":"https://api.github.com/users/danopia/events{/privacy}","received_events_url":"https://api.github.com/users/danopia/received_events","type":"User","site_admin":false},"repo":{"id":124465724,"name":"oauth2_proxy","full_name":"danopia/oauth2_proxy","owner":{"login":"danopia","id":40628,"avatar_url":"https://avatars2.githubusercontent.com/u/40628?v=4","gravatar_id":"","url":"https://api.github.com/users/danopia","html_url":"https://github.com/danopia","followers_url":"https://api.github.com/users/danopia/followers","following_url":"https://api.github.com/users/danopia/following{/other_user}","gists_url":"https://api.github.com/users/danopia/gists{/gist_id}","starred_url":"https://api.github.com/users/danopia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danopia/subscriptions","organizations_url":"https://api.github.com/users/danopia/orgs","repos_url":"https://api.github.com/users/danopia/repos","events_url":"https://api.github.com/users/danopia/events{/privacy}","received_events_url":"https://api.github.com/users/danopia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danopia/oauth2_proxy","description":"A reverse proxy that provides authentication with Google, Github or other provider","fork":true,"url":"https://api.github.com/repos/danopia/oauth2_proxy","forks_url":"https://api.github.com/repos/danopia/oauth2_proxy/forks","keys_url":"https://api.github.com/repos/danopia/oauth2_proxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danopia/oauth2_proxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danopia/oauth2_proxy/teams","hooks_url":"https://api.github.com/repos/danopia/oauth2_proxy/hooks","issue_events_url":"https://api.github.com/repos/danopia/oauth2_proxy/issues/events{/number}","events_url":"https://api.github.com/repos/danopia/oauth2_proxy/events","assignees_url":"https://api.github.com/repos/danopia/oauth2_proxy/assignees{/user}","branches_url":"https://api.github.com/repos/danopia/oauth2_proxy/branches{/branch}","tags_url":"https://api.github.com/repos/danopia/oauth2_proxy/tags","blobs_url":"https://api.github.com/repos/danopia/oauth2_proxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danopia/oauth2_proxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danopia/oauth2_proxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/danopia/oauth2_proxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danopia/oauth2_proxy/statuses/{sha}","languages_url":"https://api.github.com/repos/danopia/oauth2_proxy/languages","stargazers_url":"https://api.github.com/repos/danopia/oauth2_proxy/stargazers","contributors_url":"https://api.github.com/repos/danopia/oauth2_proxy/contributors","subscribers_url":"https://api.github.com/repos/danopia/oauth2_proxy/subscribers","subscription_url":"https://api.github.com/repos/danopia/oauth2_proxy/subscription","commits_url":"https://api.github.com/repos/danopia/oauth2_proxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/danopia/oauth2_proxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/danopia/oauth2_proxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/danopia/oauth2_proxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/danopia/oauth2_proxy/contents/{+path}","compare_url":"https://api.github.com/repos/danopia/oauth2_proxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danopia/oauth2_proxy/merges","archive_url":"https://api.github.com/repos/danopia/oauth2_proxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danopia/oauth2_proxy/downloads","issues_url":"https://api.github.com/repos/danopia/oauth2_proxy/issues{/number}","pulls_url":"https://api.github.com/repos/danopia/oauth2_proxy/pulls{/number}","milestones_url":"https://api.github.com/repos/danopia/oauth2_proxy/milestones{/number}","notifications_url":"https://api.github.com/repos/danopia/oauth2_proxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danopia/oauth2_proxy/labels{/name}","releases_url":"https://api.github.com/repos/danopia/oauth2_proxy/releases{/id}","deployments_url":"https://api.github.com/repos/danopia/oauth2_proxy/deployments","created_at":"2018-03-09T00:41:01Z","updated_at":"2018-03-09T00:41:03Z","pushed_at":"2018-03-09T00:44:12Z","git_url":"git://github.com/danopia/oauth2_proxy.git","ssh_url":"git@github.com:danopia/oauth2_proxy.git","clone_url":"https://github.com/danopia/oauth2_proxy.git","svn_url":"https://github.com/danopia/oauth2_proxy","homepage":"","size":474,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bitly:master","ref":"master","sha":"ae49c7d23c8bc677ff44b4a6273c07d94049ef65","user":{"login":"bitly","id":251133,"avatar_url":"https://avatars1.githubusercontent.com/u/251133?v=4","gravatar_id":"","url":"https://api.github.com/users/bitly","html_url":"https://github.com/bitly","followers_url":"https://api.github.com/users/bitly/followers","following_url":"https://api.github.com/users/bitly/following{/other_user}","gists_url":"https://api.github.com/users/bitly/gists{/gist_id}","starred_url":"https://api.github.com/users/bitly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitly/subscriptions","organizations_url":"https://api.github.com/users/bitly/orgs","repos_url":"https://api.github.com/users/bitly/repos","events_url":"https://api.github.com/users/bitly/events{/privacy}","received_events_url":"https://api.github.com/users/bitly/received_events","type":"Organization","site_admin":false},"repo":{"id":7209439,"name":"oauth2_proxy","full_name":"bitly/oauth2_proxy","owner":{"login":"bitly","id":251133,"avatar_url":"https://avatars1.githubusercontent.com/u/251133?v=4","gravatar_id":"","url":"https://api.github.com/users/bitly","html_url":"https://github.com/bitly","followers_url":"https://api.github.com/users/bitly/followers","following_url":"https://api.github.com/users/bitly/following{/other_user}","gists_url":"https://api.github.com/users/bitly/gists{/gist_id}","starred_url":"https://api.github.com/users/bitly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitly/subscriptions","organizations_url":"https://api.github.com/users/bitly/orgs","repos_url":"https://api.github.com/users/bitly/repos","events_url":"https://api.github.com/users/bitly/events{/privacy}","received_events_url":"https://api.github.com/users/bitly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitly/oauth2_proxy","description":"A reverse proxy that provides authentication with Google, Github or other provider","fork":false,"url":"https://api.github.com/repos/bitly/oauth2_proxy","forks_url":"https://api.github.com/repos/bitly/oauth2_proxy/forks","keys_url":"https://api.github.com/repos/bitly/oauth2_proxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitly/oauth2_proxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitly/oauth2_proxy/teams","hooks_url":"https://api.github.com/repos/bitly/oauth2_proxy/hooks","issue_events_url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/events{/number}","events_url":"https://api.github.com/repos/bitly/oauth2_proxy/events","assignees_url":"https://api.github.com/repos/bitly/oauth2_proxy/assignees{/user}","branches_url":"https://api.github.com/repos/bitly/oauth2_proxy/branches{/branch}","tags_url":"https://api.github.com/repos/bitly/oauth2_proxy/tags","blobs_url":"https://api.github.com/repos/bitly/oauth2_proxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitly/oauth2_proxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitly/oauth2_proxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitly/oauth2_proxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitly/oauth2_proxy/statuses/{sha}","languages_url":"https://api.github.com/repos/bitly/oauth2_proxy/languages","stargazers_url":"https://api.github.com/repos/bitly/oauth2_proxy/stargazers","contributors_url":"https://api.github.com/repos/bitly/oauth2_proxy/contributors","subscribers_url":"https://api.github.com/repos/bitly/oauth2_proxy/subscribers","subscription_url":"https://api.github.com/repos/bitly/oauth2_proxy/subscription","commits_url":"https://api.github.com/repos/bitly/oauth2_proxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitly/oauth2_proxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitly/oauth2_proxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitly/oauth2_proxy/contents/{+path}","compare_url":"https://api.github.com/repos/bitly/oauth2_proxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitly/oauth2_proxy/merges","archive_url":"https://api.github.com/repos/bitly/oauth2_proxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitly/oauth2_proxy/downloads","issues_url":"https://api.github.com/repos/bitly/oauth2_proxy/issues{/number}","pulls_url":"https://api.github.com/repos/bitly/oauth2_proxy/pulls{/number}","milestones_url":"https://api.github.com/repos/bitly/oauth2_proxy/milestones{/number}","notifications_url":"https://api.github.com/repos/bitly/oauth2_proxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitly/oauth2_proxy/labels{/name}","releases_url":"https://api.github.com/repos/bitly/oauth2_proxy/releases{/id}","deployments_url":"https://api.github.com/repos/bitly/oauth2_proxy/deployments","created_at":"2012-12-17T18:01:53Z","updated_at":"2018-03-08T14:13:20Z","pushed_at":"2018-03-07T14:01:16Z","git_url":"git://github.com/bitly/oauth2_proxy.git","ssh_url":"git@github.com:bitly/oauth2_proxy.git","clone_url":"https://github.com/bitly/oauth2_proxy.git","svn_url":"https://github.com/bitly/oauth2_proxy","homepage":"","size":474,"stargazers_count":3461,"watchers_count":3461,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":760,"mirror_url":null,"archived":false,"open_issues_count":182,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":760,"open_issues":182,"watchers":3461,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bitly/oauth2_proxy/pulls/561"},"html":{"href":"https://github.com/bitly/oauth2_proxy/pull/561"},"issue":{"href":"https://api.github.com/repos/bitly/oauth2_proxy/issues/561"},"comments":{"href":"https://api.github.com/repos/bitly/oauth2_proxy/issues/561/comments"},"review_comments":{"href":"https://api.github.com/repos/bitly/oauth2_proxy/pulls/561/comments"},"review_comment":{"href":"https://api.github.com/repos/bitly/oauth2_proxy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bitly/oauth2_proxy/pulls/561/commits"},"statuses":{"href":"https://api.github.com/repos/bitly/oauth2_proxy/statuses/542ef540939cbea0e58f4744a0216b68c9579ff6"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":2,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"danopia"}}