Symfony 4.2 in Laravel Homestead: login is not working, always results in 302

  homestead, symfony

I need to modify a Symfony 4.2.8 application. To achieve this, I downloaded the project (right from the production server where it’s working fine) folder to my local development environment in Laravel homestead.

When trying to log in, nothing happens. If I inspect the network, a 302 HTTP status shows up and redirects again to the login page, without displaying neither errors nor redirecting to the home page, if the password is correct.

Any ideas on how to fix this?

Source: Symfony Questions