Skip to content

Commit e162cd4

Browse files
committed
Enable MCPify's OAuth middleware
1 parent 9f05a5f commit e162cd4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

BankApi.Mcp/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
var app = builder.Build();
88

99
app.UseMcpifyContext(); // Enable MCPify's context accessor middleware
10+
app.UseMcpifyOAuth(); // Enable MCPify's OAuth middleware
1011

1112
app.MapMcpifyEndpoint(); // Map the MCP Endpoint (for HTTP transport) and OAuth metadata endpoint
1213
app.MapAuthCallback("/auth/callback");

0 commit comments

Comments
 (0)