Skip to content

test: exercise external header auth provider#31508

Draft
pakrym-oai wants to merge 3 commits into
mainfrom
pakrym/external-auth-headers-integration-test
Draft

test: exercise external header auth provider#31508
pakrym-oai wants to merge 3 commits into
mainfrom
pakrym/external-auth-headers-integration-test

Conversation

@pakrym-oai

Copy link
Copy Markdown
Collaborator

Why

The existing header-auth integration test injected a resolved CodexAuth::Headers value directly, so it did not cover the ExternalAuth source and installation path.

What changed

  • Replace direct header-auth injection with a static ExternalAuth provider.
  • Install the provider after the test runtime is constructed.
  • Verify the provider's predefined authorization and custom headers reach the /responses request.

Testing

  • just test -p codex-core external_header_auth_is_attached_to_responses_requests

Base automatically changed from codex/reconcile-external-auth to main July 8, 2026 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant