We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3852be9 commit 8f926baCopy full SHA for 8f926ba
src/ModelContextProtocol.AspNetCore/Authentication/McpAuthenticationHandler.cs
@@ -131,9 +131,6 @@ protected override async Task<AuthenticateResult> HandleAuthenticateAsync()
131
/// <inheritdoc />
132
protected override Task HandleChallengeAsync(AuthenticationProperties properties)
133
{
134
- // Set the response status code
135
- Response.StatusCode = StatusCodes.Status401Unauthorized;
136
-
137
// Get the absolute URI for the resource metadata
138
string rawPrmDocumentUri = GetAbsoluteResourceMetadataUri();
139
0 commit comments