Reputation: 669
I am using Laravel Sanctum for making authentication. I don't have any SPA application and I want to have Laravel Sanctum for having default authentication. I have followed the documentation but I've got 419 error code.
Upvotes: 0
Views: 209
Reputation: 43
If you try to logging to system with Cookie Base application you should add CSRF to your application. And you do not have to use Laravel/Sanctum package if you will not separate your application parts with wildcards. Just use sessions instead of it.
Upvotes: 1