Iframe-resizer: CORS issue

Created on 9 May 2018  Â·  1Comment  Â·  Source: davidjbradshaw/iframe-resizer

Hi,

I am loading iFrame with the source from another domain.
There is Access-Control-Allow-Origin: * header
Both js files are included on the parent and iframe pages.

Getting this error:
Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://veoliawatertechnologies.livevacancies.co.uk’) does not match the recipient window’s origin (‘https://localhost’).

Please help. Urgent.

Thank you very much

Alex

Most helpful comment

Overcame the problem with the following option: checkOrigin: false,

>All comments

Overcame the problem with the following option: checkOrigin: false,

Was this page helpful?
0 / 5 - 0 ratings

Related issues

premedios picture premedios  Â·  5Comments

mouse0270 picture mouse0270  Â·  6Comments

sebaplaza picture sebaplaza  Â·  5Comments

anlambert picture anlambert  Â·  6Comments

Fanvaron picture Fanvaron  Â·  4Comments