From c5ac7892648077c7ce8507a7c0206d1fb7c3c7cf Mon Sep 17 00:00:00 2001 From: Kevin He Date: Thu, 11 May 2023 10:00:21 -0700 Subject: [PATCH] store usid in cookies (#1193) --- packages/commerce-sdk-react/src/auth/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/commerce-sdk-react/src/auth/index.ts b/packages/commerce-sdk-react/src/auth/index.ts index 2f5b4b6998..44a0144940 100644 --- a/packages/commerce-sdk-react/src/auth/index.ts +++ b/packages/commerce-sdk-react/src/auth/index.ts @@ -79,7 +79,7 @@ const DATA_MAP: AuthDataMap = { key: 'customer_id' }, usid: { - storageType: 'local', + storageType: 'cookie', key: 'usid' }, enc_user_id: {