Skip to content

The agent that grows with you

test(desktop): keep the secured-prefix and legacy Privy cookie names under contract

kshitijk4pooredd5e5c190db
diff --git a/apps/desktop/electron/portal-cookies.test.ts b/apps/desktop/electron/portal-cookies.test.ts
index ed6934e9187..3f06a5d6c53 100644
--- a/apps/desktop/electron/portal-cookies.test.ts
+++ b/apps/desktop/electron/portal-cookies.test.ts
@@ -10,6 +10,9 @@ import { cookiesHavePortalAccessToken, cookiesHavePortalSession } from './portal
test('either portal credential family signs in, and refresh-only material is a session without access', () => {
for (const [access, refresh] of [
['privy-token', 'privy-refresh-token'],
+ // Secured-prefix forms and the legacy `privy-session` renewal cookie (#73495).
+ ['__Host-privy-token', 'privy-session'],
+ ['__Secure-privy-token', 'privy-session'],
['nas-session', 'nas-refresh']
]) {
const accessJar = [{ name: access, value: 'jwt' }]