mirror of
https://github.com/openai/codex.git
synced 2026-09-20 12:47:38 +00:00
Problem: Device authorization requests omitted Codex client identity metadata, limiting detection and investigation of third-party device-flow reuse. Solution: Send the existing originator, User-Agent, and trusted-path installation ID on both device-auth endpoints while withholding the durable ID from custom issuers. Manually verified production user-code issuance and repeated token polling with an isolated CODEX_HOME, then cancelled before authorization with no tokens persisted.