diff --git a/src/DependencyInjection/LeagueOAuth2ServerExtension.php b/src/DependencyInjection/LeagueOAuth2ServerExtension.php index c8b691db..65429095 100644 --- a/src/DependencyInjection/LeagueOAuth2ServerExtension.php +++ b/src/DependencyInjection/LeagueOAuth2ServerExtension.php @@ -226,7 +226,7 @@ public function configureOpenid(ContainerBuilder $container, array $config): voi $configuration->addMethodCall('setPublicKeyPath', [$config['resource_server']['public_key']]); if (\array_key_exists('claims', $config)) { - $configuration->addMethodCall('setClaims', [$config['claims']]); + $configuration->addMethodCall('setClaims', [$config['claims']['available']]); } }