code: private void postCreatedOrEnabledUser(UserDetails userDetails, Map<String, Object> userInfo) {
          if (oAuth2PostCreatedOrEnabledUserService != null) {
              oAuth2PostCreatedOrEnabledUserService.postCreatedOrEnabledUser(userDetails, userInfo);
          }
      }
docs: Extension point to allow sub classes to optionally do some processing after a user has been created or enabled.
  For example they could set something in the session so that the authentication success handler can treat
  the first log in differently.
  @param userDetails The {@link UserDetails} object created by
  {@link OAuth2UserDetailsLoader#createUser(Object, Map)}
  @param userInfo A map representing the user information returned from the OAuth Provider.