Skip to content

Commit 9ad3571

Browse files
committed
Allow scripts for iframe sandbox
1 parent 055b222 commit 9ad3571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/authentication/connector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ function logInWithRedirect(reset: boolean = false, extraParams?: Record<string,
239239
const authUrl = encodeURL(auth.authorization, {...req, ...extraParams});
240240

241241
const iframe = createIFrame(authUrl, {
242-
sandbox: "allow-same-origin"
242+
sandbox: "allow-same-origin allow-scripts"
243243
});
244244
let attempt = 0;
245245

0 commit comments

Comments
 (0)