Skip to content

Commit

Permalink
Merge branch hotfix/v2.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
roadiz-ci committed May 27, 2024
1 parent 9a33d0a commit ac3c26c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/DependencyInjection/RoadizRozierExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ private function registerOpenId(array $config, ContainerBuilder $container): voi
->setPublic(true)
->setArguments([
$config['open_id']['discovery_url'],
new Reference(\Psr\Cache\CacheItemPoolInterface::class)
new Reference(\Psr\Cache\CacheItemPoolInterface::class),
new Reference(\Symfony\Contracts\HttpClient\HttpClientInterface::class),
new Reference(\Psr\Log\LoggerInterface::class)
])
);
}
Expand Down Expand Up @@ -98,6 +100,7 @@ private function registerOpenId(array $config, ContainerBuilder $container): voi
new Reference(\RZ\Roadiz\OpenId\Authentication\Provider\ChainJwtRoleStrategy::class),
new Reference('roadiz_rozier.open_id.jwt_configuration_factory'),
new Reference(\Symfony\Component\Routing\Generator\UrlGeneratorInterface::class),
new Reference(\Symfony\Contracts\HttpClient\HttpClientInterface::class),
'loginPage',
'adminHomePage',
$config['open_id']['oauth_client_id'],
Expand Down

0 comments on commit ac3c26c

Please sign in to comment.