You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've added the following environment variables with these values:
APP_URL=http://localhost:8000/
SANCTUM_STATEFUL_DOMAINS=localhost:8000
SESSION_DOMAIN=localhost
SPA_URL="${APP_URL}"
This adjustment resolved the issue.
I have fixed this issue by change the browser url to http://localhost:8000
By default, if you press ctrl + click on the url on your terminal, then browser will open http://127.0.0.1:8000
This will cause the problem.
run command : php artisan serve
my .env config
APP_URL=http://127.0.0.1:8000
SANCTUM_STATEFUL_DOMAINS=127.0.0.1:8000
SESSION_DOMAIN=localhost
The text was updated successfully, but these errors were encountered: