public function createProvider($class, array $options, $redirectUri, array $redirectParams = [])
{
$redirectUri = $this->generator->generate($redirectUri, $redirectParams, UrlGeneratorInterface::ABSOLUTE_URL);
$options['redirectUri'] = $redirectUri;
// todo - make this configuration when someone needs this
$collaborators = [];
return new $class($options, $collaborators);
}