Skip to content

Commit

Permalink
Google openid login integration
Browse files Browse the repository at this point in the history
  • Loading branch information
vtsykun committed Sep 10, 2023
1 parent c416c5e commit 834320f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Integrations/Google/GoogleOAuth2Login.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@

namespace Packeton\Integrations\Google;

use Okvpn\Expression\TwigLanguage;
use Packeton\Attribute\AsIntegration;
use Packeton\Integrations\Base\BaseIntegrationTrait;
use Packeton\Integrations\LoginInterface;
use Packeton\Integrations\Model\OAuth2State;
use Psr\Log\LoggerInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
Expand All @@ -31,11 +29,8 @@ public function __construct(
protected HttpClientInterface $httpClient,
protected RouterInterface $router,
protected OAuth2State $state,
protected TwigLanguage $twigLanguage,
protected LoggerInterface $logger,
) {
$this->name = $config['name'];

if (empty($this->config['default_roles'])) {
$this->config['default_roles'] = ['ROLE_MAINTAINER', 'ROLE_SSO_GOOGLE'];
}
Expand Down

0 comments on commit 834320f

Please sign in to comment.