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

fix!: IdTokenVerifier now throws IOException if any issue obtaining public keys. Adding retries to public key fetch to cover transient network issues. #934

Merged
merged 29 commits into from
Aug 29, 2022

Conversation

TimurSadykov
Copy link
Member

@TimurSadykov TimurSadykov commented Aug 19, 2022

IdTokenVerifier now throws IOException if any issue obtaining public keys.

Adding 2 retries to public key fetch to cover transient network issues.

Fixes #916 ☕️

BEGIN_COMMIT_OVERRIDE
fix: Adding retries to public key fetch for IdTokenVerifier to cover transient network issues.
END_COMMIT_OVERRIDE

TimurSadykov and others added 25 commits March 23, 2022 03:16
…penidconnect/IdTokenVerifier.java

Co-authored-by: Tomo Suzuki <suztomo@google.com>
…penidconnect/IdTokenVerifier.java

Co-authored-by: Tomo Suzuki <suztomo@google.com>
…penidconnect/IdTokenVerifier.java

Co-authored-by: Tomo Suzuki <suztomo@google.com>
…penidconnect/IdTokenVerifier.java

Co-authored-by: Tomo Suzuki <suztomo@google.com>
…public keys. Adding retries to public key fetch to cover transient network issues.
@TimurSadykov TimurSadykov requested a review from a team as a code owner August 19, 2022 03:17
@product-auto-label product-auto-label bot added the size: m Pull request size is medium. label Aug 19, 2022
Copy link
Contributor

@alicejli alicejli left a comment

Choose a reason for hiding this comment

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

Small nits; otherwise looks great. Thanks for your work on this!

For the linting error, try running mvn com.coveo:fmt-maven-plugin:format and that should fix it.

@TimurSadykov TimurSadykov merged commit 289f139 into main Aug 29, 2022
@TimurSadykov TimurSadykov deleted the stim-signer branch August 29, 2022 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix IdTokenVerifier interface by adding Exceptions in case of signature verification issues
3 participants