Commit 8feaee8
authored
Fix login redirect cookie to work in iframes
Browsers are adding new default restrictions to cookies when a page is loaded within an iframe. By default they will block all cookies if the parent page and iframe source are on different sites. This means that if a Mendix app is loaded in an externally hosted iframe (e.g. a dashboard page) this cookie will be blocked and the login redirect will not work. By adding the `SameSite=None` and `Secure` (when applicable) options the restriction is lifted and the cookie will not be blocked.1 parent 4fe981d commit 8feaee8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments