From 15524609feb00e7ecdd819d12e2ad490ebad6dbe Mon Sep 17 00:00:00 2001 From: devops Date: Sun, 18 Oct 2026 16:04:34 +0000 Subject: [PATCH] fix(security): enforce withCredentials true on storefront api for httpOnly cookies [FE-005] --- frontend/application/lib/services/api.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/application/lib/services/api.ts b/frontend/application/lib/services/api.ts index be709a16..533bfe99 100644 --- a/frontend/application/lib/services/api.ts +++ b/frontend/application/lib/services/api.ts @@ -26,6 +26,7 @@ export interface ApiErrorPayload { const api = axios.create({ baseURL, timeout: 10000, + withCredentials: true, headers: { 'Content-Type': 'application/json', },