I am trying to use login with facebook in laravel 5 using Socialize.
Here is my route file code.
Route::get(\'fb\', function ($face
So after doing some digging if found that the issue for me was that my nginx configuration was wrong and the url parameters (code and state) weren't passed to the index.php file properly and this way the check between the state from the session and the state from the url was failing. I modified my nginx conf to look like this and it worked fine.
location / {
try_files $uri $uri/ /index.php?$args;
}