{"action":"created","comment":{"url":"https://api.github.com/repos/envoyproxy/envoy/pulls/comments/222069602","pull_request_review_id":160870350,"id":222069602,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjA2OTYwMg==","diff_hunk":"@@ -0,0 +1,214 @@\n+.. _config_http_filters_jwt_authn:\n+\n+JWT Authentication\n+==================\n+\n+This HTTP filter can be used to verify JSON Web Token (JWT). It will verify its signature, expiration time, audiences and issuer. If the JWT verification fails, its request will be rejected. If the JWT verification success, its payload could be forwarded to the upstream for further authorization if desired.\n+\n+JWKS is needed to verify JWT signatures. They can be specified in the filter config or can be fetched remotely from a JWKS server.\n+\n+Configuration\n+-------------\n+\n+This HTTP :ref:`filer config <envoy_api_msg_config.filter.http.jwt_authn.v2alpha.JwtAuthentication>` has two fields, *providers* and *rules*. Field *providers* specifies how a JWT should be verified, such as where to extract the token, where to fetch the public key (JWKS) and where to output its payload. Field *rules* specifies matching rules and their requirements. It a request matches a rule, its requirement applies. The requirement specifies which JWT providers should be used.","path":"docs/root/configuration/http_filters/jwt_authn_filter.rst","position":null,"original_position":13,"commit_id":"2ae366c40501f10b12fca52230e56d375ce5a809","original_commit_id":"da83130f79ea3ae680697d791427660a73b88c7a","user":{"login":"qiwzhang","id":11790727,"node_id":"MDQ6VXNlcjExNzkwNzI3","avatar_url":"https://avatars0.githubusercontent.com/u/11790727?v=4","gravatar_id":"","url":"https://api.github.com/users/qiwzhang","html_url":"https://github.com/qiwzhang","followers_url":"https://api.github.com/users/qiwzhang/followers","following_url":"https://api.github.com/users/qiwzhang/following{/other_user}","gists_url":"https://api.github.com/users/qiwzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/qiwzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiwzhang/subscriptions","organizations_url":"https://api.github.com/users/qiwzhang/orgs","repos_url":"https://api.github.com/users/qiwzhang/repos","events_url":"https://api.github.com/users/qiwzhang/events{/privacy}","received_events_url":"https://api.github.com/users/qiwzhang/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2018-10-02T18:49:10Z","updated_at":"2018-10-02T18:49:11Z","html_url":"https://github.com/envoyproxy/envoy/pull/4527#discussion_r222069602","pull_request_url":"https://api.github.com/repos/envoyproxy/envoy/pulls/4527","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/envoyproxy/envoy/pulls/comments/222069602"},"html":{"href":"https://github.com/envoyproxy/envoy/pull/4527#discussion_r222069602"},"pull_request":{"href":"https://api.github.com/repos/envoyproxy/envoy/pulls/4527"}},"in_reply_to_id":220664227},"pull_request":{"url":"https://api.github.com/repos/envoyproxy/envoy/pulls/4527","id":218062481,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4MDYyNDgx","html_url":"https://github.com/envoyproxy/envoy/pull/4527","diff_url":"https://github.com/envoyproxy/envoy/pull/4527.diff","patch_url":"https://github.com/envoyproxy/envoy/pull/4527.patch","issue_url":"https://api.github.com/repos/envoyproxy/envoy/issues/4527","number":4527,"state":"open","locked":false,"title":"doc:  add doc for Jwt_authn filter","user":{"login":"qiwzhang","id":11790727,"node_id":"MDQ6VXNlcjExNzkwNzI3","avatar_url":"https://avatars0.githubusercontent.com/u/11790727?v=4","gravatar_id":"","url":"https://api.github.com/users/qiwzhang","html_url":"https://github.com/qiwzhang","followers_url":"https://api.github.com/users/qiwzhang/followers","following_url":"https://api.github.com/users/qiwzhang/following{/other_user}","gists_url":"https://api.github.com/users/qiwzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/qiwzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiwzhang/subscriptions","organizations_url":"https://api.github.com/users/qiwzhang/orgs","repos_url":"https://api.github.com/users/qiwzhang/repos","events_url":"https://api.github.com/users/qiwzhang/events{/privacy}","received_events_url":"https://api.github.com/users/qiwzhang/received_events","type":"User","site_admin":false},"body":"*Description*: update doc for jwt_authn http filter\r\n\r\n1) format config.proto comment for doc\r\n2) add a new rst file: docs/root/configuration/http_filters/jwt_authn_filter.rst\r\n\r\n*Risk Level*: None\r\n\r\n*Docs Changes*: Yes\r\n","created_at":"2018-09-25T17:37:23Z","updated_at":"2018-10-02T18:49:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"341ac7bbb3c8b24a9758e3b503feb43ef7ed401f","assignee":{"login":"lizan","id":1016047,"node_id":"MDQ6VXNlcjEwMTYwNDc=","avatar_url":"https://avatars1.githubusercontent.com/u/1016047?v=4","gravatar_id":"","url":"https://api.github.com/users/lizan","html_url":"https://github.com/lizan","followers_url":"https://api.github.com/users/lizan/followers","following_url":"https://api.github.com/users/lizan/following{/other_user}","gists_url":"https://api.github.com/users/lizan/gists{/gist_id}","starred_url":"https://api.github.com/users/lizan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lizan/subscriptions","organizations_url":"https://api.github.com/users/lizan/orgs","repos_url":"https://api.github.com/users/lizan/repos","events_url":"https://api.github.com/users/lizan/events{/privacy}","received_events_url":"https://api.github.com/users/lizan/received_events","type":"User","site_admin":false},"assignees":[{"login":"lizan","id":1016047,"node_id":"MDQ6VXNlcjEwMTYwNDc=","avatar_url":"https://avatars1.githubusercontent.com/u/1016047?v=4","gravatar_id":"","url":"https://api.github.com/users/lizan","html_url":"https://github.com/lizan","followers_url":"https://api.github.com/users/lizan/followers","following_url":"https://api.github.com/users/lizan/following{/other_user}","gists_url":"https://api.github.com/users/lizan/gists{/gist_id}","starred_url":"https://api.github.com/users/lizan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lizan/subscriptions","organizations_url":"https://api.github.com/users/lizan/orgs","repos_url":"https://api.github.com/users/lizan/repos","events_url":"https://api.github.com/users/lizan/events{/privacy}","received_events_url":"https://api.github.com/users/lizan/received_events","type":"User","site_admin":false},{"login":"htuch","id":10914751,"node_id":"MDQ6VXNlcjEwOTE0NzUx","avatar_url":"https://avatars1.githubusercontent.com/u/10914751?v=4","gravatar_id":"","url":"https://api.github.com/users/htuch","html_url":"https://github.com/htuch","followers_url":"https://api.github.com/users/htuch/followers","following_url":"https://api.github.com/users/htuch/following{/other_user}","gists_url":"https://api.github.com/users/htuch/gists{/gist_id}","starred_url":"https://api.github.com/users/htuch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htuch/subscriptions","organizations_url":"https://api.github.com/users/htuch/orgs","repos_url":"https://api.github.com/users/htuch/repos","events_url":"https://api.github.com/users/htuch/events{/privacy}","received_events_url":"https://api.github.com/users/htuch/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/envoyproxy/envoy/pulls/4527/commits","review_comments_url":"https://api.github.com/repos/envoyproxy/envoy/pulls/4527/comments","review_comment_url":"https://api.github.com/repos/envoyproxy/envoy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/envoyproxy/envoy/issues/4527/comments","statuses_url":"https://api.github.com/repos/envoyproxy/envoy/statuses/2ae366c40501f10b12fca52230e56d375ce5a809","head":{"label":"qiwzhang:jwt_doc_update","ref":"jwt_doc_update","sha":"2ae366c40501f10b12fca52230e56d375ce5a809","user":{"login":"qiwzhang","id":11790727,"node_id":"MDQ6VXNlcjExNzkwNzI3","avatar_url":"https://avatars0.githubusercontent.com/u/11790727?v=4","gravatar_id":"","url":"https://api.github.com/users/qiwzhang","html_url":"https://github.com/qiwzhang","followers_url":"https://api.github.com/users/qiwzhang/followers","following_url":"https://api.github.com/users/qiwzhang/following{/other_user}","gists_url":"https://api.github.com/users/qiwzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/qiwzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiwzhang/subscriptions","organizations_url":"https://api.github.com/users/qiwzhang/orgs","repos_url":"https://api.github.com/users/qiwzhang/repos","events_url":"https://api.github.com/users/qiwzhang/events{/privacy}","received_events_url":"https://api.github.com/users/qiwzhang/received_events","type":"User","site_admin":false},"repo":{"id":80474148,"node_id":"MDEwOlJlcG9zaXRvcnk4MDQ3NDE0OA==","name":"envoy","full_name":"qiwzhang/envoy","private":false,"owner":{"login":"qiwzhang","id":11790727,"node_id":"MDQ6VXNlcjExNzkwNzI3","avatar_url":"https://avatars0.githubusercontent.com/u/11790727?v=4","gravatar_id":"","url":"https://api.github.com/users/qiwzhang","html_url":"https://github.com/qiwzhang","followers_url":"https://api.github.com/users/qiwzhang/followers","following_url":"https://api.github.com/users/qiwzhang/following{/other_user}","gists_url":"https://api.github.com/users/qiwzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/qiwzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiwzhang/subscriptions","organizations_url":"https://api.github.com/users/qiwzhang/orgs","repos_url":"https://api.github.com/users/qiwzhang/repos","events_url":"https://api.github.com/users/qiwzhang/events{/privacy}","received_events_url":"https://api.github.com/users/qiwzhang/received_events","type":"User","site_admin":false},"html_url":"https://github.com/qiwzhang/envoy","description":"C++ front/service proxy","fork":true,"url":"https://api.github.com/repos/qiwzhang/envoy","forks_url":"https://api.github.com/repos/qiwzhang/envoy/forks","keys_url":"https://api.github.com/repos/qiwzhang/envoy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qiwzhang/envoy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qiwzhang/envoy/teams","hooks_url":"https://api.github.com/repos/qiwzhang/envoy/hooks","issue_events_url":"https://api.github.com/repos/qiwzhang/envoy/issues/events{/number}","events_url":"https://api.github.com/repos/qiwzhang/envoy/events","assignees_url":"https://api.github.com/repos/qiwzhang/envoy/assignees{/user}","branches_url":"https://api.github.com/repos/qiwzhang/envoy/branches{/branch}","tags_url":"https://api.github.com/repos/qiwzhang/envoy/tags","blobs_url":"https://api.github.com/repos/qiwzhang/envoy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qiwzhang/envoy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qiwzhang/envoy/git/refs{/sha}","trees_url":"https://api.github.com/repos/qiwzhang/envoy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qiwzhang/envoy/statuses/{sha}","languages_url":"https://api.github.com/repos/qiwzhang/envoy/languages","stargazers_url":"https://api.github.com/repos/qiwzhang/envoy/stargazers","contributors_url":"https://api.github.com/repos/qiwzhang/envoy/contributors","subscribers_url":"https://api.github.com/repos/qiwzhang/envoy/subscribers","subscription_url":"https://api.github.com/repos/qiwzhang/envoy/subscription","commits_url":"https://api.github.com/repos/qiwzhang/envoy/commits{/sha}","git_commits_url":"https://api.github.com/repos/qiwzhang/envoy/git/commits{/sha}","comments_url":"https://api.github.com/repos/qiwzhang/envoy/comments{/number}","issue_comment_url":"https://api.github.com/repos/qiwzhang/envoy/issues/comments{/number}","contents_url":"https://api.github.com/repos/qiwzhang/envoy/contents/{+path}","compare_url":"https://api.github.com/repos/qiwzhang/envoy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qiwzhang/envoy/merges","archive_url":"https://api.github.com/repos/qiwzhang/envoy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qiwzhang/envoy/downloads","issues_url":"https://api.github.com/repos/qiwzhang/envoy/issues{/number}","pulls_url":"https://api.github.com/repos/qiwzhang/envoy/pulls{/number}","milestones_url":"https://api.github.com/repos/qiwzhang/envoy/milestones{/number}","notifications_url":"https://api.github.com/repos/qiwzhang/envoy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qiwzhang/envoy/labels{/name}","releases_url":"https://api.github.com/repos/qiwzhang/envoy/releases{/id}","deployments_url":"https://api.github.com/repos/qiwzhang/envoy/deployments","created_at":"2017-01-30T23:25:24Z","updated_at":"2017-01-30T23:25:27Z","pushed_at":"2018-10-02T18:48:38Z","git_url":"git://github.com/qiwzhang/envoy.git","ssh_url":"git@github.com:qiwzhang/envoy.git","clone_url":"https://github.com/qiwzhang/envoy.git","svn_url":"https://github.com/qiwzhang/envoy","homepage":"https://lyft.github.io/envoy","size":25674,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"envoyproxy:master","ref":"master","sha":"98420aa0ebc5ec8b5fc0a8d69d612eb2e4a795c3","user":{"login":"envoyproxy","id":30125649,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMTI1NjQ5","avatar_url":"https://avatars1.githubusercontent.com/u/30125649?v=4","gravatar_id":"","url":"https://api.github.com/users/envoyproxy","html_url":"https://github.com/envoyproxy","followers_url":"https://api.github.com/users/envoyproxy/followers","following_url":"https://api.github.com/users/envoyproxy/following{/other_user}","gists_url":"https://api.github.com/users/envoyproxy/gists{/gist_id}","starred_url":"https://api.github.com/users/envoyproxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/envoyproxy/subscriptions","organizations_url":"https://api.github.com/users/envoyproxy/orgs","repos_url":"https://api.github.com/users/envoyproxy/repos","events_url":"https://api.github.com/users/envoyproxy/events{/privacy}","received_events_url":"https://api.github.com/users/envoyproxy/received_events","type":"Organization","site_admin":false},"repo":{"id":65214191,"node_id":"MDEwOlJlcG9zaXRvcnk2NTIxNDE5MQ==","name":"envoy","full_name":"envoyproxy/envoy","private":false,"owner":{"login":"envoyproxy","id":30125649,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMTI1NjQ5","avatar_url":"https://avatars1.githubusercontent.com/u/30125649?v=4","gravatar_id":"","url":"https://api.github.com/users/envoyproxy","html_url":"https://github.com/envoyproxy","followers_url":"https://api.github.com/users/envoyproxy/followers","following_url":"https://api.github.com/users/envoyproxy/following{/other_user}","gists_url":"https://api.github.com/users/envoyproxy/gists{/gist_id}","starred_url":"https://api.github.com/users/envoyproxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/envoyproxy/subscriptions","organizations_url":"https://api.github.com/users/envoyproxy/orgs","repos_url":"https://api.github.com/users/envoyproxy/repos","events_url":"https://api.github.com/users/envoyproxy/events{/privacy}","received_events_url":"https://api.github.com/users/envoyproxy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/envoyproxy/envoy","description":"C++ front/service proxy","fork":false,"url":"https://api.github.com/repos/envoyproxy/envoy","forks_url":"https://api.github.com/repos/envoyproxy/envoy/forks","keys_url":"https://api.github.com/repos/envoyproxy/envoy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/envoyproxy/envoy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/envoyproxy/envoy/teams","hooks_url":"https://api.github.com/repos/envoyproxy/envoy/hooks","issue_events_url":"https://api.github.com/repos/envoyproxy/envoy/issues/events{/number}","events_url":"https://api.github.com/repos/envoyproxy/envoy/events","assignees_url":"https://api.github.com/repos/envoyproxy/envoy/assignees{/user}","branches_url":"https://api.github.com/repos/envoyproxy/envoy/branches{/branch}","tags_url":"https://api.github.com/repos/envoyproxy/envoy/tags","blobs_url":"https://api.github.com/repos/envoyproxy/envoy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/envoyproxy/envoy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/envoyproxy/envoy/git/refs{/sha}","trees_url":"https://api.github.com/repos/envoyproxy/envoy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/envoyproxy/envoy/statuses/{sha}","languages_url":"https://api.github.com/repos/envoyproxy/envoy/languages","stargazers_url":"https://api.github.com/repos/envoyproxy/envoy/stargazers","contributors_url":"https://api.github.com/repos/envoyproxy/envoy/contributors","subscribers_url":"https://api.github.com/repos/envoyproxy/envoy/subscribers","subscription_url":"https://api.github.com/repos/envoyproxy/envoy/subscription","commits_url":"https://api.github.com/repos/envoyproxy/envoy/commits{/sha}","git_commits_url":"https://api.github.com/repos/envoyproxy/envoy/git/commits{/sha}","comments_url":"https://api.github.com/repos/envoyproxy/envoy/comments{/number}","issue_comment_url":"https://api.github.com/repos/envoyproxy/envoy/issues/comments{/number}","contents_url":"https://api.github.com/repos/envoyproxy/envoy/contents/{+path}","compare_url":"https://api.github.com/repos/envoyproxy/envoy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/envoyproxy/envoy/merges","archive_url":"https://api.github.com/repos/envoyproxy/envoy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/envoyproxy/envoy/downloads","issues_url":"https://api.github.com/repos/envoyproxy/envoy/issues{/number}","pulls_url":"https://api.github.com/repos/envoyproxy/envoy/pulls{/number}","milestones_url":"https://api.github.com/repos/envoyproxy/envoy/milestones{/number}","notifications_url":"https://api.github.com/repos/envoyproxy/envoy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/envoyproxy/envoy/labels{/name}","releases_url":"https://api.github.com/repos/envoyproxy/envoy/releases{/id}","deployments_url":"https://api.github.com/repos/envoyproxy/envoy/deployments","created_at":"2016-08-08T15:07:24Z","updated_at":"2018-10-02T18:32:35Z","pushed_at":"2018-10-02T18:48:40Z","git_url":"git://github.com/envoyproxy/envoy.git","ssh_url":"git@github.com:envoyproxy/envoy.git","clone_url":"https://github.com/envoyproxy/envoy.git","svn_url":"https://github.com/envoyproxy/envoy","homepage":"https://www.envoyproxy.io","size":21235,"stargazers_count":6711,"watchers_count":6711,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":906,"mirror_url":null,"archived":false,"open_issues_count":353,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":906,"open_issues":353,"watchers":6711,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/envoyproxy/envoy/pulls/4527"},"html":{"href":"https://github.com/envoyproxy/envoy/pull/4527"},"issue":{"href":"https://api.github.com/repos/envoyproxy/envoy/issues/4527"},"comments":{"href":"https://api.github.com/repos/envoyproxy/envoy/issues/4527/comments"},"review_comments":{"href":"https://api.github.com/repos/envoyproxy/envoy/pulls/4527/comments"},"review_comment":{"href":"https://api.github.com/repos/envoyproxy/envoy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/envoyproxy/envoy/pulls/4527/commits"},"statuses":{"href":"https://api.github.com/repos/envoyproxy/envoy/statuses/2ae366c40501f10b12fca52230e56d375ce5a809"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"qiwzhang"}}