public function redirect($provider)
    {
        $this->getProviderDetails($provider);

        return Socialite::driver($this->provider->driver)
            ->scopes($this->provider->scopes)
            ->with($this->provider->extras)
            ->redirect();
    }