protected function adjustUserBeamSubscriberGroup(UserResponseInterface $userResponse, User $user)
 {
     if (self::$configurationService->has('core.beam.access.subscriber.access_group') === true) {
         $subscriber = false;
         foreach (self::$configurationService->get('core.beam.access.site_owners') as $siteOwner) {
             if (empty($siteOwner['username']) === true) {
                 continue;
             }
             try {
                 $channelId = $this->getBeamChannelId($userResponse, $siteOwner['username']);
                 if (is_null($channelId) === true) {
                     continue;
                 }
                 $response = self::$beamClient->get(vsprintf(self::SUBSCRIBES_TO_BEAM_CHANNEL_ENDPOINT, [$channelId, $user->getRemoteId()]), ['headers' => ['Authorization' => 'Bearer ' . $userResponse->getAccessToken()]]);
                 if ($response->getStatusCode() === 200) {
                     $decodedResponse = json_decode($response->getBody()->getContents());
                     if (isset($decodedResponse->status, $decodedResponse->status->subscribes) === true) {
                         $subscriber = true;
                         break;
                     }
                 }
             } catch (ClientException $exception) {
                 // Do nothing
             }
         }
         $subscriberUserGroup = self::$userGroupManager->findOneBy(['id' => self::$configurationService->get('core.beam.access.subscriber.access_group')]);
         $this->adjustUserGroup($user, $subscriberUserGroup, $subscriber);
     }
 }