I am currently trying to embed my Discourse into other sites, but the embedded site gets stuck at “Loading Discussions…”
My setup is as follows: Installed Discourse from Docker, using SAML for authentication (disabled local users). Discourse is hosted at
https://forum.example.com behind an Apache reverse proxy that handles SSL.
The embedding page (a static forum.html for testing) is located at
Embedding is allowed for “
www.example.com” with the path whitelist “.*”
Chrome does not show any errors when loading the page, but after some seconds the following error gets output repeatedly:
comments:17 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://forum.example.com') does not match the recipient window's origin ('https://www.example.com').
Is there anything else I need to configure, e.g. some special headers for the reverse proxy at
forum.example.com or for
Thanks in advance for any advice!