Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

fix: Verifier Algorithm#1696

Merged
danielbankhead merged 3 commits intogoogleapis:mainfrom
SnowMarble:patch-1
Nov 29, 2023
Merged

fix: Verifier Algorithm#1696
danielbankhead merged 3 commits intogoogleapis:mainfrom
SnowMarble:patch-1

Conversation

@SnowMarble
Copy link
Copy Markdown

@SnowMarble SnowMarble commented Nov 27, 2023

Fixes #987 🦕

I found that the sign and verify algorithms were different, and I think we need to make those the same as RSA-SHA256 because the header of the actual id_token shows it's using this.

I'm pretty sure it supposed to make an error, but Node has handled this somehow properly.

However, Bun does not allow it. I've tested this works fine.

@SnowMarble SnowMarble requested a review from a team as a code owner November 27, 2023 07:29
@SnowMarble SnowMarble requested a review from a team November 27, 2023 07:29
@google-cla
Copy link
Copy Markdown

google-cla bot commented Nov 27, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label Nov 27, 2023
@danielbankhead danielbankhead changed the title fix: wrong verifier algorithm fix: Verifier Algorithm Nov 29, 2023
@danielbankhead danielbankhead added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Nov 29, 2023
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 29, 2023
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 29, 2023
@danielbankhead danielbankhead merged commit c5080a0 into googleapis:main Nov 29, 2023
@SnowMarble SnowMarble deleted the patch-1 branch November 30, 2023 04:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalid token signature

4 participants