Skip to content

Commit 1e8250e

Browse files
committed
Merge branch '6.1.x'
Closes gh-13501
2 parents 05f90e6 + c03bd3f commit 1e8250e

File tree

1 file changed

+1
-1
lines changed
  • docs/modules/ROOT/pages/servlet/oauth2/resource-server

1 file changed

+1
-1
lines changed

docs/modules/ROOT/pages/servlet/oauth2/resource-server/jwt.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
176176
.authorizeHttpRequests(authorize -> authorize
177177
.anyRequest().authenticated()
178178
)
179-
.oauth2ResourceServer(OAuth2ResourceServerConfigurer::jwt);
179+
.oauth2ResourceServer((oauth2) -> oauth2.jwt(Customizer.withDefaults()));
180180
return http.build();
181181
}
182182
----

0 commit comments

Comments
 (0)