-
Bug
-
Resolution: Fixed
-
Major
-
4.1.4, 4.2.1, 4.3
-
1
Hello,
When using LTI 1.3 course sharing between two Moodle 4.1.4 installations, first time the student opens the external tool it gives an error
Coding error detected, it must be fixed by a programmer: se: Error: launch requires id_token
|
Stack trace:
|
line 61 of /enrol/lti/launch.php: coding_exception thrown
|
at the same time browser console gives error;
moodleaddress/enrol/lti/launch.php:1 GET https://moodleaddress.com/enrol/lti/launch.php 404 (Not Found) |
When the student opens the external tool activity for the second time it opens normally.
Tested with two Moodles in version 4.1.4 (Build: 20230612)
Steps to repeat:
0. Add privacy policy to Moodle1 that everyone needs to confirm (use tool_policy as the site policy handler, then set a policy under 'manage policies')
1. Establish LTI 1.3 connection with deeplinking between Moodle1 and Moodle2. Do not share user name or email information with LTI provider.
1. Publish course1 from Moodle1 as LTI 1.3 advantage
2. Add external tool to Moodle2 course and select course1 with content selection -button
3. Open the external tool in Moodle2 as a student, notice how it does open Moodle1 but not the course.
4. Accept the privacy policy
5. Notice the error "Coding error detected, it must be fixed by a programmer: se: Error: launch requires id_token"
6. Return to course front page
7. Open external tool for the second time and notice how it works normally
- will help resolve
-
MDL-73818 Investigate how site policies affect LTI Advantage launches
-
- Closed
-