دقیقا این مشکل منم دارم
https://laracasts.com/discuss/channels/laravel/auth-login-shows-419-page-expired-on-post-request
Auth Login shows 419 page expired on POST request
Hey folks,
I've been getting a 419 page expired error when trying to log in to my system. I by default enabled the middleware auth to the root route so that the first page that comes up is the login page. However, when putting my credentials and submitting the form, the system does not log in and instead shows a 419 error I mentioned in the beginning. Is there any insight on this problem?
Things I've tried:
I put a @csrf tag inside the login form
Referenced the token in the meta tag within the header of the master blade so that all pages can have the token
Gave permissions to the storage folder on my pc
Cleared cache and cookies in the browser
None of these solutions worked for me. Appreciate any help!