From 1dd4ace87c359a38de9923dce29fbef057069951 Mon Sep 17 00:00:00 2001 From: Matthew <106278637+Matthew-Grayson@users.noreply.github.com> Date: Wed, 25 Oct 2023 11:52:20 -0500 Subject: [PATCH] Set SameSite flag as strict for crossfeed-token. (#2274) --- frontend/src/hooks/usePersistentState.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/hooks/usePersistentState.ts b/frontend/src/hooks/usePersistentState.ts index 9c3a04827..1fafe7f31 100644 --- a/frontend/src/hooks/usePersistentState.ts +++ b/frontend/src/hooks/usePersistentState.ts @@ -21,6 +21,7 @@ export const usePersistentState = ( if (key === 'token') { cookies.set('crossfeed-token', state, { domain: process.env.REACT_APP_COOKIE_DOMAIN, + sameSite: 'strict', secure: true }); }