diff --git a/src/Controllers/Lessons.php b/src/Controllers/Lessons.php index 21e28de..0d62a15 100644 --- a/src/Controllers/Lessons.php +++ b/src/Controllers/Lessons.php @@ -143,7 +143,7 @@ public function launch(Request $request, Application $app, $anchor=null) $endpoint = $lti->launch; $parms = LTI::signParameters($parms, $endpoint, "POST", $key, $secret, - "Finish Launch", $CFG->product_instance_guid, $CFG->servicename); + "Finish Launch", $CFG->wwwroot, $CFG->servicename); $content = LTI::postLaunchHTML($parms, $endpoint, false /*debug */); print($content);