Honor configured proxy routes for auth refreshes - #34655
Merged
copyberry[bot] merged 1 commit intoJul 22, 2026
Merged
Conversation
## Why ChatGPT token refresh requests need to follow the same configured routing policy as other authentication traffic, including environments that use the system proxy. ## What changed - Require an `AuthRouteConfig` throughout login, logout, token refresh, personal access token, and agent identity flows. - Build auth HTTP clients directly from that configuration instead of falling back to a default HTTP client when routing configuration is absent. ## Testing - Add an integration test that refreshes a token through a cached system-proxy route and verifies the proxy receives the expected request. GitOrigin-RevId: 7d54ab3219939a49921c51faf08cd4c2eabca51c
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/7d54ab3219939a49921c51faf08cd4c2eabca51c
branch
from
July 22, 2026 02:27
0e76dab to
d4fcb28
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/7d54ab3219939a49921c51faf08cd4c2eabca51c
branch
July 22, 2026 02:28
andradericardop
temporarily deployed
to
issue-triage
July 22, 2026 02:39 — with
GitHub Actions
Inactive
andradericardop
temporarily deployed
to
issue-triage
July 22, 2026 02:39 — with
GitHub Actions
Inactive
andradericardop
temporarily deployed
to
issue-triage
July 22, 2026 02:39 — with
GitHub Actions
Inactive
andradericardop
temporarily deployed
to
issue-triage
July 22, 2026 02:40 — with
GitHub Actions
Inactive
jabrison1989
temporarily deployed
to
issue-triage
July 22, 2026 02:40 — with
GitHub Actions
Inactive
jabrison1989
temporarily deployed
to
issue-triage
July 22, 2026 02:40 — with
GitHub Actions
Inactive
jabrison1989
temporarily deployed
to
issue-triage
July 22, 2026 02:40 — with
GitHub Actions
Inactive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Honor configured proxy routes for auth refreshes
Why
ChatGPT token refresh requests need to follow the same configured routing policy as other authentication traffic, including environments that use the system proxy.
What changed
AuthRouteConfigthroughout login, logout, token refresh, personal access token, and agent identity flows.Testing