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
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.