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 5c28b62 commit 1a1e48cCopy full SHA for 1a1e48c
samples/ProtectedMCPServer/Program.cs
@@ -1,6 +1,5 @@
1
using Microsoft.AspNetCore.Authentication;
2
using Microsoft.Extensions.Options;
3
-using ModelContextProtocol.AspNetCore.Auth;
4
using ModelContextProtocol.Protocol.Types;
5
using System.Security.Claims;
6
using System.Text.Encodings.Web;
@@ -79,7 +78,6 @@
79
78
var app = builder.Build();
80
81
app.UseAuthentication();
82
-app.UseMcpAuthenticationResponse();
83
app.UseAuthorization();
84
85
// Map MCP endpoints with authorization
src/ModelContextProtocol.AspNetCore/Auth/McpWebApplicationExtensions.cs
0 commit comments