419 Page Expired After Login on Laravel

Resolve expired login sessions on Laravel with Laracast's tip: Configure SESSION_DOMAIN for seamless security. Optimize user experiences now!

I have some projects that I have been getting expired after login on Laravel. I recently found something on Laracast that helped me get this solved.

After you checked that your CSRF token is in the form you need to do the following

If Local:


If Live:


This is all you need.

If you want to read the thread here is the link: https://laracasts.com/discuss/channels/laravel/419page-expired-error-when-trying-to-login