Skip to content

Preserve ChatGPT auth for trusted staging MCP servers - #36983

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

Preserve ChatGPT auth for trusted staging MCP servers#36983
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/1b1d06ab214141d39eb38d46de9dfb74e6fedb3e

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 4, 2026

Copy link
Copy Markdown

Preserve ChatGPT auth for trusted staging MCP servers

What changed

  • Treat an MCP server as trusted for ChatGPT authentication when its origin
    matches the configured HTTPS chatgpt-staging.com host or one of its
    subdomains.
  • Continue trusting the production ChatGPT origin and falling back to OAuth for
    other transports and origins.

Testing

  • Cover both the staging apex domain and a staging subdomain.

## What changed

- Treat an MCP server as trusted for ChatGPT authentication when its origin
  matches the configured HTTPS `chatgpt-staging.com` host or one of its
  subdomains.
- Continue trusting the production ChatGPT origin and falling back to OAuth for
  other transports and origins.

## Testing

- Cover both the staging apex domain and a staging subdomain.

GitOrigin-RevId: 1b1d06ab214141d39eb38d46de9dfb74e6fedb3e
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/1b1d06ab214141d39eb38d46de9dfb74e6fedb3e branch from 6ef7f8f to bf05737 Compare August 4, 2026 22:13
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@copyberry
copyberry Bot merged commit bf05737 into main Aug 4, 2026
28 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/1b1d06ab214141d39eb38d46de9dfb74e6fedb3e branch August 4, 2026 22:15
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 4, 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