Files
codex/codex-rs/network-proxy/src
viyatb-oai 312c85a399 Allow hosts to bind JWT bearer grants to proxy routes (#65054)
## What changed

Add `NetworkProxyState::bind_jwt_bearer_grant` so trusted host code
can attach a grant for a specific environment, host, and exact path.
Binding requires an enabled proxy with credential brokering and TLS
interception, plus an existing rule that strips guest authorization
headers. Replacing the policy requires a fresh binding.

## Testing

Add TLS forwarding tests with separate issuer and resource origins.
Cover token refresh and reuse, alias scoping, and grant replacement.
Verify that revocation or policy reload during the upstream TLS
handshake prevents the request from reaching the resource.

GitOrigin-RevId: 5ccf058d04980ef79aca1cbae91ff558b9d71be1
2026-12-01 18:41:32 +00:00
..