-
Notifications
You must be signed in to change notification settings - Fork 36.2k
Closed
Labels
info-neededIssue requires more information from posterIssue requires more information from poster
Description
Issue Title: OAuth endpoint construction drops subpaths, breaking RFC 8414 compliance
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.102.3
- OS Version: macOS Sequoia 15.5
Steps to Reproduce:
- Use an OAuth server hosted at a subpath (e.g.,
https://server.smithery.ai/@upstash/context7-mcp/mcp) - Call
getDefaultMetadataForUrl()fromsrc/vs/base/common/oauth.ts - Observe that generated endpoints drop the subpath
Impact:
- Breaks OAuth authentication for MCP servers hosted at subpaths like https://server.smithery.ai/@upstash/context7-mcp/mcp
- Violates RFC 8414 Section 3 which requires preserving paths "between the host component and the path component, if any"
- Same issue was fixed in modelcontextprotocol/typescript-sdk#687
Reference:
RFC 8414 Section 3
Metadata
Metadata
Assignees
Labels
info-neededIssue requires more information from posterIssue requires more information from poster