I am recieving the following error:
Call to undefined method Laravel\Socialite\One\TwitterProvider::stateless()
The line throwing this error is:
$userData = Socialite::driver($provider)->stateless()->user();
The above works fine for Facebook Login.
Any ideas?
A quick look shows that the TwitterProvider
uses a different AbstractProvider
than the FacebookProvider
.
This AbstractProvider
for the TwitterProvider
does not implement stateless()
.
So I suppose what I'm saying is...stateless oAuth is not possible with the TwitterProvider in the Laravel Socialite package out of the box.