How to run the discourse in Iframe?

Discourse application does not running in Iframe of another application.
Error details are :
Refused to connect :
because an ancestor violates the following Content Security Policy directive: “frame-ancestors ‘self’”.

There’s a little clue in the error you received and in this site setting:

The link leads to:

You might want to investigate that first …