I know you say that the form has the token, but just check by using network tools in your browser, click the form submit and look at the request data
Laravel Random Verify CSRF Token Error
I currently have a web application in the process of being built in Laravel 5.3.
I have it running locally on my MacBook Pro using Laravel Valet with a SQL Server. All intended functionality works.
I then uploaded it up to my Ubuntu web server on DigitalOcean and have had it up there ever since I started this project ( 8 months ago ) without any issues.
For a specific form POST Request I am receiving a Token Mismatch Error:
TokenMismatchException in VerifyCsrfToken.php line 68 The user is already logged in and other POST Requests on the application work. The form has the correct CSRF Token inside of the form and has the token stored in the head of the page under a meta tag ( ).
I am not having this issue locally and they both have the same Database Schema and Content.
I fail to understand why this issue would only happen on the web server.
Any help is much appreciated.
Please or to participate in this conversation.