Skip to content

Support agent identity endpoint overrides - #37356

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

Support agent identity endpoint overrides#37356
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/c557c8167ec101c2993f65aad3fcb3bf25785d51

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 7, 2026

Copy link
Copy Markdown

Support agent identity endpoint overrides

What changed

  • Honor CODEX_AGENT_IDENTITY_AUTHAPI_BASE_URL and
    CODEX_AGENT_IDENTITY_JWKS_BASE_URL when registering and verifying agent
    identities.
  • Normalize override values by trimming whitespace and trailing slashes.
  • Preserve ChatGPT environment validation, while allowing a custom launcher
    configuration when its ChatGPT and JWKS base URLs match and an AuthAPI
    override is explicitly configured.

Testing

Added coverage for explicit staging overrides, custom launcher compatibility,
and rejection of overrides that would bypass environment validation.

## What changed

- Honor `CODEX_AGENT_IDENTITY_AUTHAPI_BASE_URL` and
  `CODEX_AGENT_IDENTITY_JWKS_BASE_URL` when registering and verifying agent
  identities.
- Normalize override values by trimming whitespace and trailing slashes.
- Preserve ChatGPT environment validation, while allowing a custom launcher
  configuration when its ChatGPT and JWKS base URLs match and an AuthAPI
  override is explicitly configured.

## Testing

Added coverage for explicit staging overrides, custom launcher compatibility,
and rejection of overrides that would bypass environment validation.

GitOrigin-RevId: c557c8167ec101c2993f65aad3fcb3bf25785d51
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/c557c8167ec101c2993f65aad3fcb3bf25785d51 branch from 4a036ff to b94343a Compare August 7, 2026 02:31
@copyberry
copyberry Bot merged commit b94343a into main Aug 7, 2026
30 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/c557c8167ec101c2993f65aad3fcb3bf25785d51 branch August 7, 2026 02:32
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 7, 2026
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.

1 participant