LTI shows login screen when inserting content from H5P.com

LTI shows login screen when inserting content from H5P.com

Lê Hồng發表於
Number of replies: 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?

評比平均分數: -
In reply to 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
In reply to Jake Dallimore

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

Lê Hồng發表於
Many thanks, Jake, That's really helpful to me. I can fix my issue by getting fixed code to my current code.