Since 2005.


You just updated laravel/sanctum to the most recent version (2.4.1) and suddenly your fancy single page app hosted at localhost:3000 is not able to authenticate you anymore?

Well, you need to replace localhost with localhost:3000 in your SANCTUM_STATEFUL_DOMAINS. Thank me later.

You need to make this change because of this commit, coincidentally titled “solved host problem”. Very funny. I guess it solved the problem for… someone else.

Kommentare, Feedback und andere Anmerkungen? Schreib mir eine E-Mail 🤓