Hi!
As we commented in my email,
This code
|
$deepLinkingResponse = $this->builder->buildDeepLinkingLaunchResponse( |
is trying to get the data value from "deep-linking-data" and not from the right place, making it fail in any LMS that is not sending the data parameter as in the deep link URL. Canvas sends it in the URL so the code works, but others, like D2L sends it in the id_token. Here is where the value of the data is sent:
The https://purl.imsglobal.org/spec/lti-dl/claim/data value must match the value of the data property of the https://purl.imsglobal.org/spec/lti-dl/claim/deep_linking_settings claim from the LtiDeepLinkinkingRequest message.