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: deprecating the IdTokenVerifier.verify, adding verifyOrThrow as an alternative #1091

Merged
merged 5 commits into from Dec 29, 2023

Conversation

TimurSadykov
Copy link
Member

@TimurSadykov TimurSadykov commented Dec 7, 2023

This PR restores the interface of the IdTokenVerifier.verify method to avoid a previous breaking change that was not released yet. It also deprecates the method as it is no longer recommended to use because it can produce false-negatives if public keys for signature verification are not available.

Here we add the IdTokenVerifier.verifyOrThrow as an alternative that throws IOExceptions if any issues getting public keys.

@TimurSadykov TimurSadykov requested a review from a team as a code owner December 7, 2023 11:50
@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Dec 7, 2023
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Dec 28, 2023
@TimurSadykov TimurSadykov merged commit a9a062e into main Dec 29, 2023
18 checks passed
@TimurSadykov TimurSadykov deleted the stim-unbreak branch December 29, 2023 00:03
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.

None yet

3 participants