Its probably a time/zone issue in the docker vm if the times not correctly set your csrf tokens are expring immediately.
Laravel 6 - CSRF token mismatch in Docker
I basically have a problem with the token in a L6 app.
Currently the development site works fine on my machine. All forms work fine, I can login / logout and so on.
Now I have moved the site to a development machine where Docker is managed. The site opens, connects to the database, and displays the login form. The problem is that every time you try to log in, when you click the button, it immediately generates an error 419, where the error is CSRF token mismatch. I generate the hidden field where the token is inside the form with @csrf and the value matches the meta attribute of the page.
I have already cleared everything concerning the cache, but the problem persists. Has something similar happened to someone and have you been able to solve it?
Please or to participate in this conversation.