Answer the question
In order to leave comments, you need to log in
Socialite Driver [VKontakte] not supported Laravel. How can this be fixed?
I am using Socialite Providers for VK authorization on Laravel application. And I get the error Socialite Driver [VKontakte] not supported Laravel.
I already went through the whole Internet and nothing but php artisan config:clear and write the name of the provider with lowercase... but alas, this does not help.. Please help me, what could be the problem?
My AppServiceProvider.php
class AppServiceProvider extends ServiceProvider
{
protected $listen = [
\SocialiteProviders\Manager\SocialiteWasCalled::class => [
'SocialiteProviders\\VKontakte\\[email protected]',
],
];
public function redirectToProvider()
{
return Socialite::driver('vkontakte')->stateless()->redirect();
}
App\Providers\AppServiceProvider::class,
\SocialiteProviders\Manager\ServiceProvider::class,
'Socialite' => Laravel\Socialite\Facades\Socialite::class,
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question