jwt_authn: make "issuer" field in JwtProvider as optional#14414
Merged
mattklein123 merged 11 commits intoenvoyproxy:masterfrom Jan 5, 2021
Merged
jwt_authn: make "issuer" field in JwtProvider as optional#14414mattklein123 merged 11 commits intoenvoyproxy:masterfrom
mattklein123 merged 11 commits intoenvoyproxy:masterfrom
Conversation
Contributor
Author
|
@yangminzhu @nareddyt could you help to review this code? Thanks |
yangminzhu
reviewed
Dec 15, 2020
nareddyt
reviewed
Dec 15, 2020
nareddyt
previously approved these changes
Dec 16, 2020
Contributor
Author
htuch
reviewed
Dec 17, 2020
htuch
reviewed
Dec 17, 2020
Signed-off-by: Wayne Zhang <qiwzhang@google.com>
Signed-off-by: Wayne Zhang <qiwzhang@google.com>
Signed-off-by: Wayne Zhang <qiwzhang@google.com>
Signed-off-by: Wayne Zhang <qiwzhang@google.com>
Signed-off-by: Wayne Zhang <qiwzhang@google.com>
Signed-off-by: Wayne Zhang <qiwzhang@google.com>
ff74deb to
21bfbc0
Compare
Contributor
Author
|
Sorry, did a force-push. Hope to fix a test failure unrelated to this change. |
Contributor
Author
|
It had passed all tests, but after added a few comment in the proto, some tests failed. |
Signed-off-by: Wayne Zhang <qiwzhang@google.com>
Contributor
Author
|
Hi @htuch I just did a force-push to cause a retest. there is not new changes. Could you help to review it again? Thanks |
mattklein123
requested changes
Jan 2, 2021
Member
mattklein123
left a comment
There was a problem hiding this comment.
Some small API/doc comments. Thank you!
/wait
Signed-off-by: Wayne Zhang <qiwzhang@google.com>
Signed-off-by: Wayne Zhang <qiwzhang@google.com>
mattklein123
reviewed
Jan 5, 2021
Signed-off-by: Wayne Zhang <qiwzhang@google.com>
mattklein123
reviewed
Jan 5, 2021
| * http: clusters now support selecting HTTP/1 or HTTP/2 based on ALPN, configurable via :ref:`alpn_config <envoy_v3_api_field_extensions.upstreams.http.v3.HttpProtocolOptions.auto_config>` in the :ref:`http_protocol_options <envoy_v3_api_msg_extensions.upstreams.http.v3.HttpProtocolOptions>` message. | ||
| * jwt_authn: added support for :ref:`per-route config <envoy_v3_api_msg_extensions.filters.http.jwt_authn.v3.PerRouteConfig>`. | ||
| * jwt_authn: changed config field :ref:`issuer <envoy_v3_api_field_extensions.filters.http.jwt_authn.v3.JwtProvider.issuer>` to be optional to comply with JWT [RFC](https://tools.ietf.org/html/rfc7519#section-4.1.1) requirements. | ||
| * jwt_authn: changed config field :ref:`issuer <envoy_v3_api_field_extensions.filters.http.jwt_authn.v3.JwtProvider.issuer>` to be optional to comply with JWT `RFC <https://tools.ietf.org/html/rfc7519#section-4.1.1>_` requirements. |
Member
There was a problem hiding this comment.
This is still not correct. Please look at the rendered docs. (undescore at the end)
/wait
Signed-off-by: Wayne Zhang <qiwzhang@google.com>
mattklein123
approved these changes
Jan 5, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Wayne Zhang qiwzhang@google.com
To fix #12377
According to rfc, "iss" field should be optional. But "issuer" in JwtProvider filter_config is marked as required.
This PR changes it to be optional. Its usage implications are following:
Commit Message:
Additional Description:
Risk Level: None as new features are added to allow empty issuer in the JwtProvider
Testing: Added unit-tests
Docs Changes: None
Release Notes: Yes