I found the solution to this was 2 parts, not sure why it varied since it was the same OS and setup.
Step 1 make sure that COOKIE_DOMAIN is set properly and with no port numbers (Either in .env or /config/sessions.php, whichever you use)
Step 2 make sure that the cookie name ( 'cookie' => 'whatever') inside of /config/sessions.php does NOT have an underscore in it. Laravel apparently has had issues with this.
Is the underscore in the session a legit bug? We're using an underscore in our current 5.3 application. We're planning to migrate later this year to 5.5 because of the LTS.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.