From f81cd6ac950355f4ddf6016ddd8aa4143f279373 Mon Sep 17 00:00:00 2001 From: adrienne-rio Date: Thu, 26 Sep 2024 14:38:58 +0800 Subject: [PATCH] chore: removed same origin script attribute --- src/hooks/useOAuth2.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hooks/useOAuth2.ts b/src/hooks/useOAuth2.ts index 1f3998a..544e289 100644 --- a/src/hooks/useOAuth2.ts +++ b/src/hooks/useOAuth2.ts @@ -58,7 +58,6 @@ export const useOAuth2 = (OAuth2GrowthBookConfig: OAuth2GBConfig, WSLogoutAndRed iframe = document.createElement('iframe'); iframe.id = 'logout-iframe'; iframe.style.display = 'none'; - iframe.setAttribute('sandbox', 'allow-same-origin'); document.body.appendChild(iframe); setTimeout(() => {