Commit 4cfc056
committed
fix: append /mcp to resource_server_url with trailing slash handling
Append '/mcp' to resource_server_url and handle trailing slashes to ensure
proper OAuth Protected Resource Metadata validation. This prevents the error:
"Protected Resource Metadata resource does not match MCP server resolved resource"
which occurs when the PRM resource URL doesn't exactly match the server URL.
Fixes compatibility with VS Code + MCP authentication per RFC 9728.
References: microsoft/vscode#2552551 parent 5780d4d commit 4cfc056
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
0 commit comments