Codex CLI works fine from terminal (v0.117.0, auth mode: chatgpt).
Auth.json at ~/.codex/auth.json is populated with valid tokens.
codex launches and runs normally from terminal.
But all plugin commands inside Claude Code (v2.1.88) return:
API Error: 401 - authentication_error - "OAuth token has expired"
This happens even after:
- Fresh codex login from terminal
- /reload-plugins in Claude Code
- pkill -f codex to clear background processes
- Starting a new Claude Code session
macOS, Apple Silicon, Node v25.6.1
Codex CLI works fine from terminal (v0.117.0, auth mode: chatgpt).
Auth.json at ~/.codex/auth.json is populated with valid tokens.
codex launches and runs normally from terminal.
But all plugin commands inside Claude Code (v2.1.88) return:
API Error: 401 - authentication_error - "OAuth token has expired"
This happens even after:
macOS, Apple Silicon, Node v25.6.1