The problem is that Laravel/Sanctum starts to respond with 419 Unknown Status (CSRF Token Mismatch) errors. This happens when logged in and even logging out. Even in incognito mode.
Asked
Active
Viewed 208 times
0
-
What url are you accessing in the browser? – JEJ Jul 14 '22 at 16:58
-
SESSION_DOMAIN=localhost SANCTUM_STATEFUL_DOMAINS=localhost – JEJ Jul 14 '22 at 17:00
-
Check this post https://stackoverflow.com/questions/60843137/laravel-sanctum-unauthenticated/64418443#64418443 should be helpful – Stanley Aloh Aug 01 '22 at 11:59