fix: use static auth cookie name to sync session across browser and server contexts
All checks were successful
Staging Build / build (push) Successful in 1m56s

This commit is contained in:
DanielS
2026-06-23 02:58:55 +02:00
parent c0c5240f8d
commit 235efd5a47
5 changed files with 20 additions and 0 deletions

View File

@@ -8,5 +8,10 @@ export function createClient() {
return createBrowserClient(
resolveSupabaseUrl(supabaseUrl)!,
supabaseAnonKey!,
{
cookieOptions: {
name: "webshop-auth-token",
},
}
);
}