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 e02a40d commit a1cfa91Copy full SHA for a1cfa91
README.md
@@ -147,12 +147,12 @@ class McpServerConfiguration {
147
return http
148
// ⬇️ Open every request on the server
149
.authorizeHttpRequests(auth -> {
150
- auth.requestMatcher("/mcp").permitAll();
+ auth.requestMatchers("/mcp").permitAll();
151
auth.anyRequest().authenticated();
152
})
153
// Configure OAuth2 on the MCP server
154
.with(
155
- McpResourceServerConfigurer.mcpServerOAuth2(),
+ McpServerOAuth2Configurer.mcpServerOAuth2(),
156
(mcpAuthorization) -> {
157
// REQUIRED: the issuerURI
158
mcpAuthorization.authorizationServer(issuerUrl);
0 commit comments