-
Notifications
You must be signed in to change notification settings - Fork 19.8k
OAuth authentication fails at issuer validation #31573
Copy link
Copy link
Open
Labels
CLIIssues related to the Codex CLIIssues related to the Codex CLIauthIssues related to authentication and accountsIssues related to authentication and accountsbugSomething isn't workingSomething isn't workingmcpIssues related to the use of model context protocol (MCP) serversIssues related to the use of model context protocol (MCP) servers
Description
Activity
Metadata
Metadata
Assignees
Labels
CLIIssues related to the Codex CLIIssues related to the Codex CLIauthIssues related to authentication and accountsIssues related to authentication and accountsbugSomething isn't workingSomething isn't workingmcpIssues related to the use of model context protocol (MCP) serversIssues related to the use of model context protocol (MCP) servers
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