From 179983236f011ab8f7805d9cb91889eedd5648d6 Mon Sep 17 00:00:00 2001 From: Marc Riemer Date: Mon, 27 Nov 2023 18:39:26 +0100 Subject: [PATCH] fixed oidc config --- src/DependencyInjection/LeagueOAuth2ServerExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']]); } }