code: private Response getResponseFromProviderUsing(Authentication token) {
          Client client = getClient();
  
          WebTarget webTarget = client
                  .target(oAuth2ServiceProperties.getUserInfoUri())
                  .queryParam(oAuth2ServiceProperties.getAccessTokenName(), (String)token.getCredentials());
  
          if (oAuth2ServiceProperties.getAdditionalInfoParams() != null) {
              for (Map.Entry<String, String> entry : oAuth2ServiceProperties.getAdditionalInfoParams().entrySet()) {
                  webTarget = webTarget.queryParam(entry.getKey(), entry.getValue());
              }
          }
  
          return webTarget.request(MediaType.APPLICATION_JSON_TYPE)
                  .get();
      }
docs: Calls the external OAuth provider and returns the Jersey {@link Response} object.
  @param token The {@link Authentication} token to use in the call.
  @return The {@link Response} object.