mirror of
https://github.com/openai/codex.git
synced 2026-11-15 21:50:46 +00:00
Restrict MCP OAuth authorization endpoints to HTTP(S) (#47326)
## What changed Reject authorization endpoints with schemes other than `http` or `https` before client registration or authorization URL return. Document this constraint for `mcpServer/oauth/login`. ## Testing Make existing asynchronous tests wait for cleanup: wait for `ThreadIdle` before injecting user input in the guardian cached-score test, and poll for queue consumption before asserting that dispatched items are gone. GitOrigin-RevId: e5f6b4c5556234c3cc2aa56910486e892c011116
This commit is contained in:
@@ -294,6 +294,11 @@ This is the server's advertised MCP capabilities object, including its `extensio
|
||||
map. It is null when the connection has not initialized successfully; capabilities
|
||||
are never inferred from tools or copied from a shared catalog cache.
|
||||
|
||||
# MCP OAuth login
|
||||
|
||||
`mcpServer/oauth/login` only returns HTTP(S) authorization URLs. Authorization
|
||||
endpoints with other schemes fail before client registration or URL return.
|
||||
|
||||
# Thread rollback
|
||||
|
||||
`thread/rollback` has been removed from the API, including its request and response
|
||||
|
||||
Reference in New Issue
Block a user