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?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire