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

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

        return Socialite::driver($this->provider->driver)
            ->scopes($this->provider->scopes)
            ->with($this->provider->extras)
            ->redirect();
    }
public function redirect ( $ provider ) { $ this -> getProviderDetails ( $ provider ) ; return Socialite :: driver ( $ this -> provider -> driver ) -> scopes ( $ this -> provider -> scopes ) -> with ( $ this -> provider -> extras ) -> redirect ( ) ; }
Redirect the user based on the social provider being used.

@param string $provider The provider being logged in through.

@return mixed
@throws \Exception
Redirect the user based on the social provider being used .