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 a8f5748 commit c03bd3fCopy full SHA for c03bd3f
docs/modules/ROOT/pages/servlet/oauth2/resource-server/jwt.adoc
@@ -176,7 +176,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
176
.authorizeHttpRequests(authorize -> authorize
177
.anyRequest().authenticated()
178
)
179
- .oauth2ResourceServer(OAuth2ResourceServerConfigurer::jwt);
+ .oauth2ResourceServer((oauth2) -> oauth2.jwt(Customizer.withDefaults()));
180
return http.build();
181
}
182
----
0 commit comments