Skip to content

Commit 34d2c03

Browse files
authored
Added Iframe Limitations
1 parent dd887d2 commit 34d2c03

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

content/en/docs/deployment/general/running-in-iframe.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,21 @@ Most browsers have additional security to ensure that iframes are only allowed w
2323
When running your app in Mendix Cloud, you can set the SameSite cookie through a custom runtime setting as explained in the [Running Your App in an Iframe](/developerportal/deploy/environments-details/#iframe) section of *Environment Details*.
2424

2525
If your app is deployed outside Mendix Cloud (on premises, for example), then you will need to configure your webserver to set the SameSite cookie to the correct value.
26+
27+
## Limitations
28+
29+
### Runtime Dependency
30+
31+
Even when embedded, the web client must still communicate with the Mendix runtime to initiate sessions, execute microflows, and interact with data. Mendix cannot function as a standalone client-only solution directly integrating with third-party services.
32+
33+
### Cross-Application Communication
34+
35+
Mendix does not support native messaging between the embedded application and the host application or other iframed applications. Any such communication must be implemented manually using custom JavaScript.
36+
37+
### Authentication Isolation
38+
39+
Mendix applications embedded in iframes do not inherit the session or user credentials from the host application. To enable shared authentication, a secure custom mechanism, such as JWT-based authentication, must be implemented.
40+
41+
### Content Security Policy (CSP) Requirements
42+
43+
If the host application enforces a Content Security Policy, it must be configured to explicitly allow loading frames and scripts from the Mendix application’s URL.

0 commit comments

Comments
 (0)