Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Classes | Namespaces
repost_crosssite_page.php File Reference

Render a page containing a simple form which reposts to self via JS. More...

Classes

class  mod_lti\output\repost_crosssite_page
 Render a page containing a simple form which reposts to self via JS. More...
 

Namespaces

namespace  mod_lti\output
  
 

Detailed Description

Render a page containing a simple form which reposts to self via JS.

The purpose of this form is to resend a cross-site request to self, which allows the browsers to include the Moodle session cookie alongside the original POST data, allowing LTI flows to function despite browsers blocking cross-site cookies.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later