Including Course/Block in iframe on 3rd party site causes redirect to site

Hello,

Is there a way to allow course content to be shown via an iframe? For example we want to include this course content in a website such as our libguide. Right now it isn’t loading because of CSP headers missing (it broke other things, so I had to roll back), but when it does load, it redirects to the code in the template here. I am not seeing a way to set allow_iframing to True so it doesn’t redirect. I tried adding it as a variable in the lms env file, but that didn’t seem to work.

Thanks!