Quantcast
Channel: LTI and Moodle
Viewing all articles
Browse latest Browse all 2848

Moodle 4.0 as LTI 1.3 provider throwing scope error

$
0
0
by Mathieu Pelletier.  

I am stumped.

I successfully, or so I thought, setup Moodle 4.0 as an LTI provider in Canvas.  I can add Moodle activities as external tools within Canvas, making use of deep linking.  The activity selection process works seamlessly.

However, when the user attempts to use the activity, a scope error is generated:

2022/04/26 14:58:04 [error] 599#599: *8759 FastCGI sent in stderr: "PHP message: Default exception handler: Coding error detected, it must be fixed by a programmer: Scope 'https://canvas.instructure.com/lti-ags/progress/scope/show' is invalid. Debug: 
Error code: codingerror
* line 101 of /enrol/lti/classes/local/ltiadvantage/entity/ags_info.php: coding_exception thrown
* line 66 of /enrol/lti/classes/local/ltiadvantage/entity/ags_info.php: call to enrol_lti\local\ltiadvantage\entity\ags_info->validate_scopes()
* line 79 of /enrol/lti/classes/local/ltiadvantage/entity/ags_info.php: call to enrol_lti\local\ltiadvantage\entity\ags_info->__construct()
* line 171 of /enrol/lti/classes/local/ltiadvantage/entity/resource_link.php: call to enrol_lti\local\ltiadvantage\entity\ags_info::create()
* line 170 of /enrol/lti/classes/local/ltiadvantage/service/tool_launch_service.php: call to enrol_lti\local\ltiadvantage\entity\resource_link->add_grade_service()
* line 352 of /enrol/lti/classes/local/ltiadvantage/service/tool_launch_service.php: call to enrol_lti\local\ltiadvant" while reading response header from upstream, client: REDACTED, server: devedu.somewhere.ac, request: "POST /enrol/lti/launch.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php7.4-fpm.sock:", host: "devedu.somewhere.ac", referrer: "https://mydomain.instructure.com/api/lti/authorize?client_id=*****0000000000111&login_hint=************522cf3bc2774a8012a35177f4&lti_message_hint=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2ZXJpZmllciI6IjBiNzAyYTI1MmM4NzBjZDBlZjIyMzhkZTQxYTRhM2VkOTMxNzFjYWNmNDFmM2MxNmIzOTZhNjUyYWRlMmU1Y2Y4NjM2ODcxNzQwNjY5Zjg1OGE0OWFhMWE5MWY1ZmNkMmQ5MjFlYWY2ZTk0OTVkNTkyMmY0ODgxYjA1YTI1YmUzIiwiY2FudmFzX2RvbWFpbiI6InNhdHMuaW5zdHJ1Y3R1cmUuY29tIiwiY29udGV4dF90eXBlIjoiQ291cnNlIiwiY29udGV4dF9pZCI6MTU3NDEwMDAwMDAwMDAwMjM3LCJjYW52YXNfbG9jYWxlIjoiZW4tR0IiLCJleHAiOjE2NTA5NzgxNzF9.VWUlIPUU1ndF7B02fXWVuDNHBvnUpYNuDXPva1jrbEc&nonce=nonce-67f020ab816d58df6fa9b4be9c6ed689dfa4886676eaeeea904fc3a05371d2f9&prompt=none&redirect_uri=https%3A%2F%2Fdevedu.somewhere.ac
I cannot for the life of me figure out why I am getting this error, nor have I been able to find suitable information about this error anywhere in the documentation.
Any help would be greatly appreciated!

Thanks in advance!


Viewing all articles
Browse latest Browse all 2848

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>