diff --git a/DependencyInjection/Security/Factory/OAuthFactory.php b/DependencyInjection/Security/Factory/OAuthFactory.php index 43d7b308b..4924df2c0 100644 --- a/DependencyInjection/Security/Factory/OAuthFactory.php +++ b/DependencyInjection/Security/Factory/OAuthFactory.php @@ -150,6 +150,7 @@ protected function createOAuthAwareUserProvider(ContainerBuilder $container, $id protected function createEntryPoint($container, $id, $config, $defaultEntryPoint) { $entryPointId = 'hwi_oauth.authentication.entry_point.oauth.'.$id; + $definitionClassname = $this->getDefinitionClassname(); $container ->setDefinition($entryPointId, new $definitionClassname('hwi_oauth.authentication.entry_point.oauth'))