title: Laravel 419 | Session Expired
body: <p>I've been having an issue with Laravel sessions while logging in.</p>
  <p>1.Yes, I do have a CSRF token included in my form.</p>
  <p>2.Yes, the token has not expired.</p>
  <p>3.Yes, the SESSION_SECURE_COOKIE is set to false.</p>
  <p>I'm using <code>redis</code> as my <code>SESSION_DRIVER</code> and the <code>expiration time</code> is set to <code>120 minutes</code>.</p>
  <p>The thing that bothers me the most is that 'sometimes it works, and sometimes it does not'.</p>
  <p>If I were to open an incognito tab and try to login, 10/20 times it would work without any problems whatsoever, yet the other 10 would result in a</p>
  <blockquote>
  <p>[419 | Session Expired] error</p>
  </blockquote>
  <p>.</p>
  <p>My environment is <code>CentOS</code>, <code>Nginx</code>.</p>
  <p>There aren't any proxies, and I'm not using Cloudflare either.</p>
  <p>I'm really flabbergasted because the behavior is not consistent, it's literally random behavior which results in a successful or an unsuccessful login.</p>
  <p>Does anyone have any ideas what might be the case?</p>