From 590788bde88aa133c86762b1d80e85384010f1e5 Mon Sep 17 00:00:00 2001 From: Craig Pirie Date: Mon, 30 Oct 2023 17:36:42 +0000 Subject: [PATCH] revert cookie --- src/services/isee/editor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/isee/editor.ts b/src/services/isee/editor.ts index a0f5409..9892f40 100644 --- a/src/services/isee/editor.ts +++ b/src/services/isee/editor.ts @@ -9,7 +9,7 @@ export const open_editor_with_token = async (strategy: string, usecaseId: string try { const STRATEGY_URL = `${EDITOR_URL}#/id/${strategy}?usecaseId=${usecaseId}`; - Cookies.set('auth', getToken(), { expires: 1, domain: '.isee4xai.com', path: "/", sameSite: 'None' }); + Cookies.set('auth', getToken(), { expires: 1, secure: true, domain: '.isee4xai.com', path: "/", sameSite: 'None' }); window.open(STRATEGY_URL, "_blank") return;