Skip to content

Fix Codex ChatGPT OAuth auth handling#254

Open
etailup wants to merge 1 commit into
stephengpope:mainfrom
etailup:codex/codex-oauth-auth-json
Open

Fix Codex ChatGPT OAuth auth handling#254
etailup wants to merge 1 commit into
stephengpope:mainfrom
etailup:codex/codex-oauth-auth-json

Conversation

@etailup

@etailup etailup commented Apr 25, 2026

Copy link
Copy Markdown

Summary

  • Treat Codex OAuth entries as full Codex auth.json payloads instead of single API-key-style tokens
  • Write Codex ChatGPT OAuth payloads to ~/.codex/auth.json inside Codex containers
  • Update the OpenAI OAuth modal and docs to ask for Codex auth.json contents

Verification

  • Validated Codex auth script writes auth.json for a ChatGPT OAuth payload
  • Validated API-key auth JSON is rejected in Codex OAuth mode
  • Ran bash -n docker/coding-agent/scripts/agents/codex-cli/auth.sh
  • Ran git diff --check
  • Ran npm run build
  • Ran npm test

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