From c518e24678061ca5e1da3d9012f9933172fabc46 Mon Sep 17 00:00:00 2001 From: can1357 Date: Thu, 12 Feb 2026 12:09:48 +0100 Subject: [PATCH] fix(coding-agent/mcp): added type assertion to OAuth metadata response for type safety - Added type assertion to OAuth metadata response to ensure proper type safety. --- packages/coding-agent/src/mcp/oauth-discovery.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/coding-agent/src/mcp/oauth-discovery.ts b/packages/coding-agent/src/mcp/oauth-discovery.ts index 1d66d3c33..d0d37fab4 100644 --- a/packages/coding-agent/src/mcp/oauth-discovery.ts +++ b/packages/coding-agent/src/mcp/oauth-discovery.ts @@ -235,7 +235,7 @@ export async function discoverOAuthEndpoints(serverUrl: string): Promise; // Check for standard OAuth discovery format if (metadata.authorization_endpoint && metadata.token_endpoint) {