Support the ongoing development of Laravel.io →
Authentication Laravel
Last updated 2 years ago.

natnaelabay liked this thread

1

I think one issue could be that your SPA is hosted with a port 8080 but the .env setting for Sanctum Domain does not mention the port.

Can you try updating this to see if it works? SANCTUM_STATEFUL_DOMAINS=vue.m.m:8080

azzazkhan liked this reply

1

Sign in to participate in this thread!

Eventy

Your banner here too?

nati123 natnaelabay Joined 3 Dec 2020

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.