Skip to content

Commit

Permalink
Use Oauth2UserService bean in OidcReactiveOAuth2UserService
Browse files Browse the repository at this point in the history
Closes gh-15846
  • Loading branch information
kse-music authored and jzheaux committed Sep 30, 2024
1 parent b06c40d commit 60587f8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4506,7 +4506,9 @@ private ReactiveOAuth2UserService<OidcUserRequest, OidcUser> getOidcUserService(
if (bean != null) {
return bean;
}
return new OidcReactiveOAuth2UserService();
OidcReactiveOAuth2UserService reactiveOAuth2UserService = new OidcReactiveOAuth2UserService();
reactiveOAuth2UserService.setOauth2UserService(getOauth2UserService());
return reactiveOAuth2UserService;
}

private ReactiveOAuth2UserService<OAuth2UserRequest, OAuth2User> getOauth2UserService() {
Expand Down

0 comments on commit 60587f8

Please sign in to comment.