You perform the auth against facebook, if it passes then you create a User object in memory, when they log out it will destroy that user unless you are saving them in your app as well.
//create empty user obj
$FBuser = new User;
//Manually log in user
Auth::login($FBuser);
if you wanted to save the user each time, you can do this.
$Auser = new User;
$Auser->id = $username;
$Auser->name = $username;
$Auser->username = $username;
$Auser->email = $email;
$Auser->save();
$FBuser = User::find($username);
Auth::login($FBuser);
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community