Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetch verification key from server via proxy during accesstoken and roletoken verification #2527

Merged
merged 2 commits into from
Mar 6, 2024

Conversation

Bigdrea6
Copy link
Contributor

Description

In this pull request, we have enabled the use of a proxy URL when retrieving the verification key during the validation of accesstoken and roletoken.

Contribution Checklist:

  • The pull request does not introduce any breaking changes
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Signed-off-by: Go Yakami <gyakami@lycorp.co.jp>
Signed-off-by: Toshiaki Aoike <taoike@lycorp.co.jp>
Signed-off-by: Shimpei Yamazaki <shimyama@lycorp.co.jp>
@@ -31,7 +31,7 @@
<mock.server.version>5.15.0</mock.server.version>
<commons.io.version>2.15.1</commons.io.version>
<uberjar.name>benchmarks</uberjar.name>
<code.coverage.min>0.8702</code.coverage.min>
<code.coverage.min>0.8682</code.coverage.min>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason why we're reducing our code coverage? please review your additions to make sure all the new code is included in the tests.
we only allow reducing the code coverage if you're removing functions from the module which doesn't seem to be the case here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We modified the implementation of setAccessTokenSignKeyResolver in AuthZpeClient.java to restore coverage.

Signed-off-by: Kubiura Hiromu <hkubiura@yahoo-corp.jp>
@Bigdrea6
Copy link
Contributor Author

Bigdrea6 commented Mar 6, 2024

@havetisyan
The reason this screwdriver is failing is not due to our implementation, but rather an issue with screwdriver itself.
Please review.

@havetisyan havetisyan merged commit 55b8578 into AthenZ:master Mar 6, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants