Skip to content

Commit 9f22fd3

Browse files
Update src/ModelContextProtocol.AspNetCore/Authentication/McpAuthenticationHandler.cs
Co-authored-by: Stephen Toub <[email protected]>
1 parent 3df91d1 commit 9f22fd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ModelContextProtocol.AspNetCore/Authentication/McpAuthenticationHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ private string GetAbsoluteResourceMetadataUri()
7070

7171
if (resourceMetadataUri.IsAbsoluteUri)
7272
{
73-
return resourceMetadataUri.ToString();
73+
return currentPath;
7474
}
7575

7676
// For relative URIs, combine with the base URL

0 commit comments

Comments
 (0)