I am trying to use login with facebook in laravel 5 using Socialize.
Here is my route file code.
Route::get(\'fb\', function ($face
I got temporary solution for that.
public function user()
{
//if ($this->hasInvalidState()) {
// throw new InvalidStateException;
//}
$user = $this->mapUserToObject($this->getUserByToken(
$token = $this->getAccessToken($this->getCode())
));
return $user->setToken($token);
}
comment the $this->hasInvalidState()
if condition in AbstractProvider.php file and it's work fine.