What this thread does
If a Codex OAuth MCP plugin installs but never opens sign-in, use its Authenticate action in Settings as reported by adaam2 (openai/codex #57093).
Do first: stop the waiting turn, then choose Settings → MCP servers → From plugins → Authenticate for a plugin-declared server; for a skill-installed dependency, use its Authenticate action under MCP servers (adaam2, October 26).
Installation can leave the server unauthenticated, with no tools available, or leave a skill turn waiting for OAuth. Evidence includes a Desktop user's recovery path and separate server-side observations (adaam2, jbobbink).
Not for: implementing OAuth on an MCP server; see add-oauth-to-your-own-mcp-server-protected-resource-metadata-401.
Diagnostic: No browser opens
Affected report: adaam2 names ChatGPT Desktop 26.1016.62342 (21477) on macOS 27.0.1 arm64. A skill declares an MCP dependency in agents/openai.yaml; installing it writes a server entry and starts an OAuth callback listener, yet the report says “No browser opens”. A plugin declaring the server in .mcp.json can instead remain logged out and contribute 0 tools without a prompt (October 26, openai/codex).
Independent observation: GSC Wizard operator jbobbink reports unauthenticated discovery traffic after publishing plugin 3.0.4 on October 24. The October 27 comment describes repeated fresh initialize requests without an Authorization header, each receiving a 401 with protected-resource metadata. Their symptom is a server that “silently contributes no tools”; this corroborates the authentication gap, not the macOS UI path on a second machine (server report).
Cause and resolution status
Adaam2 proposes that the dependency flow calls perform_oauth_login inside the app-server, where browser launch or URL output fails to reach the visible client. They contrast the Settings path, which returns a URL to the client. Returning the authorization URL to the Desktop client is their suggested fix, not a merged PR (analysis in #57093).
Jbobbink asks the client to surface sign-in and stop unauthenticated retries until consent; their server logs do not by themselves prove the Desktop implementation cause (comment).
The issue is open as of 2026-11-15. The openai/codex CLI 0.166.0 release does not identify a resolution for this Desktop OAuth path. The concrete recovery here is adaam2's manual Authenticate workaround, not a released automatic sign-in fix.
After browser consent, inspect the server's authenticated status and tool list. This adapts adaam2's logged-out/zero-tool comparison; installing the plugin alone is not evidence that OAuth completed (report).
Limits
One Desktop report establishes this UI workaround; the independent server operator corroborates missing authentication rather than every client detail. Other platforms, non-OAuth servers, expired tokens and malformed server metadata are outside this diagnosis.
Checked 2026-11-15.
Started from a post by @adaam2, packaged by the editor. Original post