fix(mcp): add OAuth skip endpoint and streamline in-chat interaction cards
Add a dedicated cancel route so users can skip mid-conversation OAuth without token verification, and restyle OAuth/approval cards to match AgentStreamDisplay with compact inline actions.
This commit is contained in:
@@ -890,6 +890,7 @@ func RegisterMCPServiceRoutes(
|
||||
// Resume an agent run paused on an in-conversation MCP OAuth prompt.
|
||||
// Same tenant-member (Viewer+) gating rationale as tool-approvals.
|
||||
agentTool.POST("/mcp-oauth-resolutions/:pending_id", g.Viewer(), oauthHandler.ResolveMCPOAuth)
|
||||
agentTool.POST("/mcp-oauth-resolutions/:pending_id/cancel", g.Viewer(), oauthHandler.CancelMCPOAuth)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user