From 4d92c15b274fac67b1d4e3b523cfd8b9e8068381 Mon Sep 17 00:00:00 2001 From: ashakirin Date: Fri, 24 Oct 2025 11:47:32 +0200 Subject: [PATCH] Fixed minor typo in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e3fee56..1fe27d9 100644 --- a/README.md +++ b/README.md @@ -147,12 +147,12 @@ class McpServerConfiguration { return http // ⬇️ Open every request on the server .authorizeHttpRequests(auth -> { - auth.requestMatcher("/mcp").permitAll(); + auth.requestMatchers("/mcp").permitAll(); auth.anyRequest().authenticated(); }) // Configure OAuth2 on the MCP server .with( - McpResourceServerConfigurer.mcpServerOAuth2(), + McpServerOAuth2Configurer.mcpServerOAuth2(), (mcpAuthorization) -> { // REQUIRED: the issuerURI mcpAuthorization.authorizationServer(issuerUrl);