When use Laravel Socialite package to login, there has an official method redirectToProvider
public function redirectToProvider('facebook')
{
return Socialite::driver('facebook')->redirect();
}
If it serves as API, e.g, the route is /api/login/facebook
, the response will have error Session store not set on request
.
So how to send login request to provider when it is on API?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2ryE5WR
via IFTTT
Aucun commentaire:
Enregistrer un commentaire