LTI shows login screen when inserting content from H5P.com

LTI shows login screen when inserting content from H5P.com

ໂດຍ Lê Hồng -
ຈຳນວນການຕອບກັບ: 2

I have seen a few similar issues in the below links but It doesn't help to solve my issue: 

https://moodle.org/mod/forum/discuss.php?d=421351

https://moodle.org/mod/forum/discuss.php?d=418339

I am integrating Moodle 3.10.3 and H5P.com via an external tool in Moodle. I have done all the steps required for configuring LTI in moodle 

When I try to insert H5P content, I am getting redirected to the Moodle login page.


The console return error as below


This issue happens on Chrome and Edge. It works fine on Firefox as expected.

Is there anyone who could help?

ການຈັດອັນດັບສະເລ່ຍ: -
ໃນການຕອບກັບຫາ Lê Hồng

Re: LTI shows login screen when inserting content from H5P.com

ໂດຍ Jake Dallimore -
ຮູບພາບຂອງ Core developers ຮູບພາບຂອງ Moodle HQ ຮູບພາບຂອງ Particularly helpful Moodlers ຮູບພາບຂອງ Peer reviewers ຮູບພາບຂອງ Plugin developers ຮູບພາບຂອງ Testers
Hi,

This is a fairly common report, most likely caused by the browser handling of samesite cookies. This was patched in MDL-71887, meaning you need to be running at least Moodle 3.10.6 or you'll hit the problem. Upgrade your site, and you'll likely find the problem goes away.

Hope that helps,
Jake
ການຈັດອັນດັບສະເລ່ຍ: -