Skip to content

feat(auth): make jsonwebtoken backend optional#4231

Merged
coryan merged 8 commits intogoogleapis:mainfrom
coryan:feat-auth-prune-crypto-backends
Jan 14, 2026
Merged

feat(auth): make jsonwebtoken backend optional#4231
coryan merged 8 commits intogoogleapis:mainfrom
coryan:feat-auth-prune-crypto-backends

Conversation

@coryan
Copy link
Copy Markdown
Collaborator

@coryan coryan commented Jan 10, 2026

With this change applications that only use google-cloud-auth can select a different backend for jsonwebtoken, the crate google-cloud-auth` uses to verify OIDC ID Tokens.

Part of the work for #4207

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.85%. Comparing base (539b576) to head (2a25b18).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4231   +/-   ##
=======================================
  Coverage   94.85%   94.85%           
=======================================
  Files         187      187           
  Lines        7194     7194           
=======================================
  Hits         6824     6824           
  Misses        370      370           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@coryan coryan marked this pull request as ready for review January 10, 2026 17:29
@coryan coryan requested review from a team January 10, 2026 17:29
@coryan coryan requested a review from alvarowolfx January 10, 2026 17:35
dbolduc
dbolduc previously approved these changes Jan 10, 2026
alvarowolfx
alvarowolfx previously approved these changes Jan 10, 2026
@coryan coryan dismissed stale reviews from alvarowolfx and dbolduc via 4bdd128 January 12, 2026 14:14
alvarowolfx
alvarowolfx previously approved these changes Jan 12, 2026
@coryan coryan force-pushed the feat-auth-prune-crypto-backends branch from 0ee392c to b0e7178 Compare January 12, 2026 16:44
With this change applications that only use `google-cloud-auth` can
select a different backend for `jsonwebtoken, the crate
`google-cloud-auth` uses to verify OIDC ID Tokens.
@coryan
Copy link
Copy Markdown
Collaborator Author

coryan commented Jan 14, 2026

Rebased and resolved conflicts, PTAL.

@coryan coryan merged commit 18f8434 into googleapis:main Jan 14, 2026
30 checks passed
@coryan coryan deleted the feat-auth-prune-crypto-backends branch January 14, 2026 16:46
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