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

Credential Injector Filter: OAuth2 client credential extension #33702

Merged
merged 55 commits into from
May 9, 2024

asan

eb73004
Select commit
Loading
Failed to load commit list.
Merged

Credential Injector Filter: OAuth2 client credential extension #33702

asan
eb73004
Select commit
Loading
Failed to load commit list.
CI (Envoy) / Mobile/Perf skipped May 9, 2024 in 0s

Check was skipped

This check was not triggered in this CI run

Details

Request (pr/33702/main@eb73004)

vikaschoudhary16 @vikaschoudhary16 eb73004 #33702 merge main@8654bb8

Credential Injector Filter: OAuth2 client credential extension

Commit Message:
This PR is follow up to #30850 and is adding oauth2(client credential grant) extension. At a high level, oauth2 extension has TokenProvider which runs on main thread to fetch token from oauth server and sets tls slot with the received token. All worker threads then access this token from tls to inject requestHeaders during decodeHeaders.

Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

Environment

Request variables

Key Value
ref 709e050
sha eb73004
pr 33702
base-sha 8654bb8
actor vikaschoudhary16 @vikaschoudhary16
message Credential Injector Filter: OAuth2 client credential extension...
started 1715218564.691595
target-branch main
trusted false
Build image

Container image/s (as used in this CI run)

Key Value
default envoyproxy/envoy-build-ubuntu:f94a38f62220a2b017878b790b6ea98a0f6c5f9c
mobile envoyproxy/envoy-build-ubuntu:mobile-f94a38f62220a2b017878b790b6ea98a0f6c5f9c
Version

Envoy version (as used in this CI run)

Key Value
major 1
minor 31
patch 0
dev true