Skip to content

Commit

Permalink
Update Deprecated Usage
Browse files Browse the repository at this point in the history
Issue gh-12629
  • Loading branch information
jzheaux committed Jun 22, 2023
1 parent 9b603b9 commit 208fb62
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1884,7 +1884,7 @@ SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.anyRequest().authenticated()
)
.oauth2Login(withDefaults())
.oauth2ResourceServer(OAuth2ResourceServerConfigurer::jwt);
.oauth2ResourceServer((oauth2) -> oauth2.jwt(withDefaults()));
return http.build();
// @formatter:on
}
Expand Down

0 comments on commit 208fb62

Please sign in to comment.