I\'m creating a SPA using NextJS and I have a Laravel backend for my API. To authenticate my SPA I\'m using laravel sanctum.
My API is on api.domain.com and my app is