Issues showing external quiz pages inside liferay portals

Hi everyone,

I’m working on a liferay portal where I need to show some external interactive content inside a page, and I’ve hit a strange problem with one of the quiz platforms I’m testing. I was trying to display something like a telenor quiz site.
When I embed it in an iframe or a widget inside liferay, parts of the page don’t load correctly, and sometimes the buttons or forms just don’t respond. In a few cases, the browser console shows csp, mixed content, or cross-origin errors. It works fine when opened directly, but once it’s inside liferay, things start behaving differently.

I’m not sure if this is more about liferay’s security settings, the way external pages send their headers, or how interactive scripts are loaded. Has anyone here dealt with embedding third-party quiz or learning pages into a liferay portal before? Are there specific iframe, csp, or proxy settings that usually solve this kind of issue?

Would really appreciate any tips or experiences.

1 Answer

1

Hello @morry878,

Could you please share the browser console snapshots to check what kind of errors you are getting?

However, if the errors are particularly related to security (CSP, cross-origin, and so on), you need to check out the following article and properties, as by default Liferay prevents iframe embedding: