Migrate jwt_verify_lib from github.com/google/jwt_verify_lib to Envoy internal #2172
+3,668
−368
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
github.com/google/jwt_verify_librepository has been archived. This PR migrates the library code into Envoy's codebase to eliminate the external dependency.Changes
New Internal Library
source/extensions/filters/http/common/jwt/containing:status.h/cc,jwt.h/cc,jwks.h/cc,verify.h/cccheck_audience.h/cc,struct_utils.h/ccsimple_lru_cache.h,simple_lru_cache_inl.hNamespace Migration
google::jwt_verifyEnvoy::Extensions::HttpFilters::Common::JwtVerifygoogle::simple_lru_cacheEnvoy::Extensions::HttpFilters::Common::JwtVerify::SimpleLruCacheUpdated Consumers
jwt_authnfilteroauth2filtergcp_authnfiltercommon/jwks_fetcherRemoved External Dependency
com_github_google_jwt_verifyfrombazel/repository_locations.bzl_com_github_google_jwt_verify()frombazel/repositories.bzlbazel/jwt_verify_lib.patchUsage
Consumer code uses namespace aliases for compatibility:
Documentation
See
docs/NAMESPACE_MIGRATION_DIFF.mdfor complete migration details.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/google/jwt_verify_lib/git/trees/b59e8075d4a4f975ba6f109e1916d6e60aeb5613/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.