Skip to content

Unify external authentication provider handling - #38258

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/ec75cf9224dc82d3fd10063606c724e3b06fb1e7
Aug 12, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/ec75cf9224dc82d3fd10063606c724e3b06fb1e7

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 12, 2026 •

Copy link
Copy Markdown

Unify external authentication provider handling

What changed

  • Use each ExternalAuth provider's error classification for resolve, refresh,
    and validation failures.
  • Allow runtime providers to be replaced, clearing any recorded permanent
    refresh failure after the replacement resolves successfully.
  • Preserve workload identity as immutable, host-managed authentication while
    sharing external ChatGPT credentials through the process-local store.

Testing

  • Cover provider replacement after a permanent failure, provider-defined error
    classification, workload identity immutability, and refreshed headers after
    an unauthorized response.

## What changed

- Use each `ExternalAuth` provider's error classification for resolve, refresh,
  and validation failures.
- Allow runtime providers to be replaced, clearing any recorded permanent
  refresh failure after the replacement resolves successfully.
- Preserve workload identity as immutable, host-managed authentication while
  sharing external ChatGPT credentials through the process-local store.

## Testing

- Cover provider replacement after a permanent failure, provider-defined error
  classification, workload identity immutability, and refreshed headers after
  an unauthorized response.

GitOrigin-RevId: ec75cf9224dc82d3fd10063606c724e3b06fb1e7
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/ec75cf9224dc82d3fd10063606c724e3b06fb1e7 branch from b91a43a to 18dcc76 Compare August 12, 2026 22:05
@copyberry
copyberry Bot merged commit 18dcc76 into main Aug 12, 2026
28 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/ec75cf9224dc82d3fd10063606c724e3b06fb1e7 branch August 12, 2026 22:06
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 12, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 18dcc764 Deployed Aug 12, 2026 by amaciuszonek via Generate label suggestions #37487
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants