Problem loading cuba application in <iframe>

Hi,

in one case i need to run cuba application in iframe. But as soon as added to iframe cuba app wont login due to lack of cookies acces. Is there any way how to overcome this?

It affects Chrome browser probably due last security update.

image

Hi,

It’s not related just to CUBA, but to any app (which uses cookies) being embedded in iframe. It’s because iframes have certain security restrictions.
If you serve the application from the same host as the page with the iframe there should not be any issues. Otherwise, probably you can overcome it by using less restrictive SameSite cookie policy, however it’s strictly discouraged due to security risks.