Skip to content

The open alternative to Salesforce, designed for AI.

Add allow same origin to the iFrame widget (#16239)

Raphaël Bosi269135e8c5dc
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/iframe/components/IframeWidget.tsx b/packages/twenty-front/src/modules/page-layout/widgets/iframe/components/IframeWidget.tsx
index 7b852648cf1..47ce490be51 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/iframe/components/IframeWidget.tsx
+++ b/packages/twenty-front/src/modules/page-layout/widgets/iframe/components/IframeWidget.tsx
@@ -103,7 +103,7 @@ export const IframeWidget = ({ widget }: IframeWidgetProps) => {
title={title}
onLoad={handleIframeLoad}
onError={handleIframeError}
- sandbox="allow-scripts allow-forms allow-popups"
+ sandbox="allow-scripts allow-forms allow-popups allow-same-origin"
allow="encrypted-media"
allowFullScreen
/>