Skip to content

Commit a1cfa91

Browse files
ashakirinKehrlann
authored andcommitted
Fixed minor typo in README.md
1 parent e02a40d commit a1cfa91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,12 @@ class McpServerConfiguration {
147147
return http
148148
// ⬇️ Open every request on the server
149149
.authorizeHttpRequests(auth -> {
150-
auth.requestMatcher("/mcp").permitAll();
150+
auth.requestMatchers("/mcp").permitAll();
151151
auth.anyRequest().authenticated();
152152
})
153153
// Configure OAuth2 on the MCP server
154154
.with(
155-
McpResourceServerConfigurer.mcpServerOAuth2(),
155+
McpServerOAuth2Configurer.mcpServerOAuth2(),
156156
(mcpAuthorization) -> {
157157
// REQUIRED: the issuerURI
158158
mcpAuthorization.authorizationServer(issuerUrl);

0 commit comments

Comments
 (0)