Skip to content

Commit d4ce453

Browse files
committed
add comment
1 parent d9fbfe6 commit d4ce453

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

BankApi.Mcp/Builder.MCP.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ public static async Task<IServiceCollection> AddMCPService(this IServiceCollecti
1717

1818
services.AddScoped(sp =>
1919
{
20+
// This shouldn't be needed, since proper MCP clients handle this via the "/.well-known/oauth-protected-resource" endpoint
21+
// Keep this in until following issue is solved: https://github.com/abdebek/MCPify/issues/20
2022
return new OAuthAuthorizationCodeAuthentication(
2123
clientId: "b6997777-3799-4c55-b78a-4ce96e3d959c",
2224
authorizationEndpoint: $"https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/authorize",

0 commit comments

Comments
 (0)