Closed clemente closed 4 years ago
@lduarte1991 FYI we had to add this custom parameter
in our setup, could you confirm that it's fine?
tool_consumer_instance_guid
seems recommended though not required, according to https://www.imsglobal.org/specs/ltiv1p0/implementation-guide
Ah, I didn't notice the special case for HARVARDX organization.
To make it easier for other users, you could make the default (without that LTI parameter) be included in that branch of the if
, or at least provide a descriptive exception instead of the KeyError
when that LTI parameter isn't present.
This code accesses
tool_consumer_instance_guid
, which may not be present in the request, and it fails:It seems a workaround is to add
["tool_consumer_instance_guid=<unique_identifier>"]
to thecustom parameters
of the LTI block, but maybe the code must handle the case where the parameter isn't there. Or document adding thet custom parameter to the LTI block.