LTI shows login screen when inserting content from H5P.com

LTI shows login screen when inserting content from H5P.com

by 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?

Average of ratings: -
In reply to Lê Hồng

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

by 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