Vue.js

Vue 3 SPA with Laravel Sanctum

Hi,

Has anyone been in similar situation?

I am following Alex's course for vue SPA with Laravel Sanctum but I keep getting 419 errors right from the start.

Has anything changed with the latest versions of Laravel and Vue? which makes his code not working for me.

Also, can I get the source code of this tutorial? "Laravel Sanctum Authentication with the Vue Composition API".

Thanks.

salman15803
salman15803
0
3
354
Happydays
Happydays

Sounds like csrf issue. Make sure your APP_URL is correct

salman15803
salman15803

The app URL is same on which Laravel is running APP_URL=http://localhost:8000

Happydays
Happydays

Do you have a csrf meta tag in your layout?