Debugging Laravel Sanctum 401 response

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

You have no idea how much of a legend you are! I was like "here we go again, another dead end that doesn't fix my issue..." but you were spot on! I'm doing funky multi-sites being accessed from a single domain in multiple kubernetes containers and laravel was not liking the domain. Nice!

transcrobesproject
Автор

In sanctum.php, it looks like the FRONTEND_URL is supposed to be included in the stateful domains array..?

francismori
Автор

Hi, do you have a paid for nuxt and laravel API of extensive project like this one you are show casing? I'm wiling to buy. I need to learn this best practices

MrFixIt-lers
Автор

after all this still cant get my project to view a protected route... its been months, all values seem correct but stilll get 401 unauth

rokix
Автор

@cdruc i have tried all possible configs, "/user" returns 401. The logs look ok. I dont know what to do next

adamshaibu
Автор

Hey Cdruc, I know you're working on a Sanctum authentication course. If you could create a YouTube playlist explaining the basics of Sanctum and how to use it for authenticating a SPA on different domains with a Laravel API, that would be really helpful

holakonoob