LTI and Moodle

Allow frame embedding not working

Picture of Abhishek Chouhan
Allow frame embedding not working


I am trying to embed moodle course in another website using "LTI Provider" plugin. 

On the browser getting error. 

Refused to display 'http://XXXXXXXXXXXXX/login/index.php' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

I have already enabled the option 

Home / > Site administration / > Security / > HTTP security Allow frame embedding

Even though getting error. Any pointer on this will be helpful. 


Thanks in advance

Abhishek Chouhan 

Average of ratings: -
Picture of Abhishek Chouhan
Re: Allow frame embedding not working

It is working as expected now. 

I was using the bitnami instance of moodle. In httpd.conf there was a check if X-Frame-Options is empty then set to SAMEORIGIN. 

This was the issue. commented that configuration.. 

All Good Now. 

Average of ratings: -