Debugging Laravel Sanctum CORS errors

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

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

I've looked at more than 20 videos about this topic, and yours is the most useful. I've watched your entire series about authentication and it's superb! Thanks.

ldcb
Автор

But what if the error says "No 'Access-Control-Allow-Origin' header is present on the requested resource"? I set allowed_origins to * in cors.php file and everything else is the same as your file here in the video. It's driving me crazy.

upd. Nevermind. It was because I was using VPN. I turned it off and the error is gone.

mgksmv
Автор

Watched the first 3 seconds twice so my watch time is 419 seconds. 👌. Thanks @cdruc 👏🏽

Samuel.Mwangi