Skip to content

OAuth endpoint construction drops subpaths, breaking RFC 8414 compliance #258845

@arjunkmrm

Description

@arjunkmrm

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:

  1. Use an OAuth server hosted at a subpath (e.g., https://server.smithery.ai/@upstash/context7-mcp/mcp)
  2. Call getDefaultMetadataForUrl() from src/vs/base/common/oauth.ts
  3. Observe that generated endpoints drop the subpath

Impact:

Reference:
RFC 8414 Section 3

Metadata

Metadata

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions