Embed Discourse comments into readthedocs hosted site

Hello all,

I have been trying to add discourse comments from our forum to our documentation site.
We host our documentation on readthedocs.

I used the javascript from discourse customize/embedding and it would only render “Discussion Loading”.

Links:
Forum
Discourse embed URl(readthedocs site)

I inspected the page and in the console I found this error message:

Invalid X-Frame-Options: “ALLOWALL” header from “[https://forum.zenko.io/embed/comments?embed_url=https%3A%2F%…tsInReadTheDocs%2Freference%2Fobject_operations%2Findex.html](https://forum.zenko.io/embed/comments?embed_url=https%3A%2F%2Fzenko.readthedocs.io%2Fen%2Fdocumentation%2FZENKOIO-111-ForumCommentsInReadTheDocs%2Freference%2Fobject_operations%2Findex.html)” loaded into “[https://zenko.readthedocs.io/en/documentation-zenkoio-111-fo…commentsinreadthedocs/reference/object_operations/index.html](https://zenko.readthedocs.io/en/documentation-zenkoio-111-forumcommentsinreadthedocs/reference/object_operations/index.html)”.

And if this helps:

Request URL:https://forum.zenko.io/embed/comments?embed_url=https%3A%2F%2Fzenko.readthedocs.io%2Fen%2Fdocumentation%2FZENKOIO-111-ForumCommentsInReadTheDocs%2Findex.html
Request method:GET
Remote address:72.52.80.11:443
Status code:
400
Version:HTTP/2.0

Did anyone had similar issue or can help?

Many thanks! :blush:

2 Likes