Skip to content

Publish verifiable Google OIDC signing keys - #32

Merged
RhysSullivan merged 1 commit into
mainfrom
fix/google-oidc-signatures
Sep 23, 2026
Merged

RhysSullivan merged 1 commit into
mainfrom
fix/google-oidc-signatures

Conversation

@RhysSullivan

Copy link
Copy Markdown

Google ID tokens were signed with HS256 while discovery published an empty key set. OIDC clients such as Better Auth rejected sign-in. Sign tokens with RS256 and a key ID, and publish the matching public JWK. Keys are generated lazily and last for the server process, like the existing Apple emulator.

Verified: all 21 Google tests pass, including real authorization-code exchange, discovery-key verification, and rejection of tampered tokens and wrong audiences. The new regression fails against the original implementation. Google typecheck and lint pass (two existing unused-variable warnings). Documentation and CLI help describe the behavior.

Required by the Executor test-suite repair. No hosted deployment is included in this PR.

@RhysSullivan
RhysSullivan marked this pull request as ready for review September 23, 2026 17:43
@RhysSullivan
RhysSullivan merged commit 686b885 into main Sep 23, 2026
1 check 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.

1 participant