mirror of
https://github.com/openai/codex.git
synced 2026-12-03 00:41:03 +00:00
## Why `codex login status` confirms that workload identity is active, but its generic status line leaves users unable to tell which identity Codex is using. ## What changed - For ChatGPT, show the principal ID, workspace ID, and account email when available. - For API access, show the service account ID and project ID. Read these details from cached authentication metadata and keep the generic status line when account details are unavailable. ## Testing Add output snapshots for ChatGPT identities with and without an email and for API service accounts. GitOrigin-RevId: a0fb2aafff4a52a2e890e324e939b132c59f5831