src/Controllers/SocialController.php
private function checkProvider($provider)
    {
        $ci = $provider.'_client_id';
        $cs = $provider.'_client_secret';

        if (!$this->settings->$ci || !$this->settings->$cs) {
            abort(404, __('laralum_social::general.provider_not_found', ['provider' => $provider]));
        }
    }
private function checkProvider($provider)
    {
        $ci = $provider.'_client_id';
        $cs = $provider.'_client_secret';

        if (!$this->settings->$ci || !$this->settings->$cs) {
            abort(404, __('laralum_social::general.provider_not_found', ['provider' => $provider]));
        }
    }
Check if the provider is enabled or not.

@param string $provider