Closed 101t closed 5 years ago
Hi, Could you help me, please? I installed the package using composer I got this error.
Driver [WordPressSelfHosted] not supported.
I think this miss configuration in app/Providers/AppServiceProvider.php and call it from the boot() method.
app/Providers/AppServiceProvider.php
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { // $this->bootWordPressSelfHostedSocialite(); } /** * Register any application services. * * @return void */ public function register() { // } private function bootWordPressSelfHostedSocialite() { $socialite = $this->app->make('Laravel\Socialite\Contracts\Factory'); $socialite->extend( 'WordPressSelfHosted', function ($app) use ($socialite) { $config = $app['config']['services.wordpress_self_hosted']; return $socialite->buildProvider(\SocialiteProviders\WordPressSelfHosted\Provider::class, $config); } ); } }
Thank you.
This is required to works fine
Hi, Could you help me, please? I installed the package using composer I got this error.
I think this miss configuration in
app/Providers/AppServiceProvider.php
and call it from the boot() method.Thank you.