2 distinct substantive comments in the bounded stored sample.
Dated comments span 2026-03-31 02:48:37 to 2026-03-31 04:54:06. Sample: up to 180 stored records, deduplicated and capped at 60 substantive comments. Launch discussion and issue-tracker samples are not representative customer surveys.
CALCULATED FROM STORED SOURCE RECORDS
Where “Codex CLI” appears in the indexed corpus
5 distinct public source records carry this exact extracted keyword.
This is a corpus coverage count at snapshot time, not search volume, adoption, independent corroboration or proof of demand. Keyword extraction can be imperfect.
This issue exposes a critical flaw in the Codex plugin's authentication status reporting, specifically for enterprise users leveraging Azure OpenAI. The `codex login status` command and the plugin's internal `getCodexLoginStatus()` function are rigidly tied to OAuth, failing to recognize valid API key-based authentication via custom `model_provider` configurations. This prevents Azure users from utilizing core plugin functionalities like `/codex:review` and `/codex:task`, despite the underlying CLI working correctly. This oversight significantly limits enterprise adoption and demonstrates a lack of foresight in accommodating diverse authentication strategies, a common requirement in B2B SaaS.
Proprietary Technical Taxonomy
Codex CLIAzure OpenAI model providerconfig.tomlOAuth-based loginenv_keygetCodexLoginStatus()/codex:review/codex:task
Raw Developer Origin & Technical Request
GitHub Issue
Mar 31, 2026
Repo: openai/codex-plugin-cc
`codex login status` reports "Not logged in" when using Azure model provider
Hi there! Thanks for the great plugin — really looking forward to using Codex from Claude Code.
## Description
I have Codex CLI configured with an Azure OpenAI model provider via `config.toml`, and everything works great with `codex -p`. However, I noticed that `codex login status` returns exit code 1 with "Not logged in" in this setup, which seems to only check for OAuth-based login.
**My config.toml:**
```toml
model = "gpt-5.4"
model_provider = "azure"
```
$ codex login status
Not logged in # exit code 1
$ codex -p "hello"
# works perfectly fine
```
## Impact
The companion plugin uses `getCodexLoginStatus()` as a gate before running reviews or tasks. Since this check doesn't recognize Azure provider authentication, Azure users see:
> Codex CLI is not authenticated. Run `!codex login` and retry.
This prevents us from using `/codex:review` and `/codex:task` in Claude Code, even though the underlying Codex CLI works perfectly.
## Suggestion
Would it be possible for `codex login status` (or `getCodexLoginStatus()` in the plugin) to also consider non-OAuth authentication methods? For example, when a custom `model_provider` with an `env_key` is configured, the check could verify that the corresponding environment variable is set.
I ran into the same issue where the Codex plugin keeps asking for login even though I already have ~/.codex/config.toml configured. I temporarily fixed it by modifying the plugin source code via Claude Code. You can run the following command to have Claude automatically apply the fix for you: ```shell claude -p "Modify the Codex plugin to check for existing config file authentication before running 'codex login status'. File to modify: ~/.claude/plugins/marketplaces/openai-codex/plugins/codex/scripts/lib/codex.mjs Changes needed: 1. Ensure these imports exist at the top of the file (add if missing): import fs from \"node:fs\"; import os from \"node:os\"; import path from \"node:path\"; 2. Replace the existing hasCodexConfigFile() function (or add if not exists) with this enhanced version named hasValidCodexConfig(): function hasValidCodexConfig() { const homedir = os.homedir(); const configPath = path.join(homedir, \".codex\", \"config.toml\"); if (!f...
ChengDe-Lin
• Mar 31, 2026
@BBBOND Thanks so much for sharing this fix — it worked perfectly! The approach of checking config.toml for model or profile before falling back to codex login status makes a lot of sense, especially for Azure OpenAI users whose auth isn't recognized by the native login flow. Have you considered opening a PR to the codex repo? This feels like it should be upstreamed rather than staying a local workaround — the logic is clean, non-destructive, and addresses a real gap for anyone using custom model providers. Happy to co-sign or comment on the PR if it helps!
dkundel-openai
• Apr 8, 2026
This should be fixed now in
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from openai/codex-plugin-cc.
Sandbox environment access failure for Codex reviews
Secure and functional code review environment.
Top Replies
SatyKrish • Mar 30, 2026
I get similar issue with sandbox environment. ``` The Codex reviewer couldn't access the shell in its sandbox. The review output is above — it was unable to execute due to sandbox restrictions in t...
dkundel-openai • Mar 30, 2026
Thanks for flagging. I'm looking into this!
dkundel-openai • Mar 30, 2026
@arvidkahl inside bash can you run `which codex` and `codex --version`? There might be a version mismatch happening here.
Enhanced developer workflow, contextual AI assistance, interactive code exploration.
Top Replies
dkundel-openai • Mar 30, 2026
How would this be different than using `/codex:rescue`? It should by default suggest to use the same thread or you can use `/codex:rescue --resume [follow-up]` to be more explicit
luqmanbello • Mar 31, 2026
Great point -- from my own implementation as a skill they do overlap mechanically since both use threads under the hood. The difference is really about what I am trying to do with it. With `rescue`...
Codex plugin authentication failure within Claude Code
Seamless integration, reliable authentication across environments.
Top Replies
tss-pranavkumar • Mar 31, 2026
you need to /login and login into your anthropic account first , that will fix it then do the setup command
Frequently Asked Questions
Market intelligence mapped to Codex plugin login status misreporting for Azure model provider.
What problem does Codex plugin login status misreporting for Azure model provider solve?
Based on our AI analysis of the original developer request, its primary technical positioning is: Flexible authentication support, enterprise integration.
How is the developer community reacting to Codex plugin login status misreporting for Azure model provider?
Yes, we have tracked 2 direct responses and active debates regarding this specific topic originating from GitHub Issue.
What architecture is tied to Codex plugin login status misreporting for Azure model provider?
Our proprietary extraction maps Codex plugin login status misreporting for Azure model provider to adjacent architectural concepts including Codex CLI, Azure OpenAI model provider, config.toml, OAuth-based login.
Engagement Signals
2
Replies
open
Issue Status
Cross-Market Term Frequency
Counts stored text matches for foundational terms like Codex CLI and config.toml in analysed public discussions. These counts do not measure adoption.
Stored text matches, not adoption or market-share measurements.