What version of Codex CLI is running?
0.143.0
What subscription do you have?
Free
Which model were you using?
No response
What platform is your computer?
No response
What terminal emulator and version are you using (if applicable)?
No response
Codex doctor report
What issue are you seeing?
Trying to log in to an MCP Server using the Authorization Code flow fails with an error:
Error: failed to handle OAuth callback
Caused by:
Authorization server response missing required issuer: expected https://my.mcp.server/issuer
This issue was introduced recently (works in 0.141.0 for example). I assume it is related to modelcontextprotocol/rust-sdk#896
What steps can reproduce the bug?
- Setup an MCP server with OAuth login
- Start logging in using
codex mcp login my_mcp_server
What is the expected behavior?
Codex should handle the issuer contained in the iss parameter of the callback URL (see RFC 9207).
Additional information
No response
What version of Codex CLI is running?
0.143.0
What subscription do you have?
Free
Which model were you using?
No response
What platform is your computer?
No response
What terminal emulator and version are you using (if applicable)?
No response
Codex doctor report
What issue are you seeing?
Trying to log in to an MCP Server using the Authorization Code flow fails with an error:
This issue was introduced recently (works in 0.141.0 for example). I assume it is related to modelcontextprotocol/rust-sdk#896
What steps can reproduce the bug?
codex mcp login my_mcp_serverWhat is the expected behavior?
Codex should handle the issuer contained in the
issparameter of the callback URL (see RFC 9207).Additional information
No response