Level 11
You might've accidentally changed login part. With your comment, it's hard to guess what happened actually. Recommend reinstalling sanctum with new laravel to test.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I use Laravel with Sanctum API. But after i login with my credentials, laravel try to redirect to /dashboard with 404. I also tries to set the const HOME to '/api/user', but its not working.
Please or to participate in this conversation.