Laravel CSRF Token mismatch.

Hey guys, i am trying to make my auth with nuxt frontend and laravel backend, but somehow i can't make anything because of the CSRF... i tried asking in stackoverflow but no helpfull answer, eventually someone of you guys can help me. https://stackoverflow.com/questions/79028791/nuxt3-with-laravel-11-and-sactum-auth-csrf-error
Stack Overflow
Nuxt3 with Laravel 11 and Sactum Auth CSRF Error
everything i try is not working with my auth script from Laravel 11 and Nuxt 3. i installed sanctum and configurate the cors config like in every tutorial. but somehow the CSRF Token can't be trans...
2 Replies
Cue
Cue3mo ago
Take a look at this. Maybe you’ll find some inspiration. https://github.com/manchenkoff/nuxt-auth-sanctum
GitHub
GitHub - manchenkoff/nuxt-auth-sanctum: Nuxt module for Laravel San...
Nuxt module for Laravel Sanctum authentication. Contribute to manchenkoff/nuxt-auth-sanctum development by creating an account on GitHub.
Nicole
Nicole2mo ago
@Joshua Gerke How did you handle your authentication? Is it session-based?
Want results from more Discord servers?
Add your server