Legacy Moodle tool does not distinguish between LTI users

Legacy Moodle tool does not distinguish between LTI users

di Lilia Urmazova -
Numero di risposte: 0

Good day everyone!

We have been trying to solve the problem for a month now.

The external system accesses Moodle as LTI-tool. Version 1.1 (yes, we know that it is outdated, but it is the only thing the external system supports).

The problem is that each external user is recognized by Moodle as the same user.
So when a second user opens a Moodle page via LTI, they see the first user's grades.

What data is transmitted by the external system:

lis_outcome_service_url=https://stepik.org/<span class="speller-hint" data-toggle="popover" data-hint="0" data-original-title="" title="">lti</span>/result/
lis_result_sourcedid=62beeaa6-9c4b-49d1-879c-3643d95b65fa
<span class="speller-hint" data-toggle="popover" data-hint="1" data-original-title="" title="">lti</span>_message_type=basic-<span class="speller-hint" data-toggle="popover" data-hint="2" data-original-title="" title="">lti</span>-launch-request
<span class="speller-hint" data-toggle="popover" data-hint="3" data-original-title="" title="">lti</span>_version=LTI-1p0
oauth_callback=about:blank
oauth_consumer_key=jisc.ac.uk
oauth_nonce=1c497d34-67e7-40af-af6d-8ace3d9ce1
oauth_signature=wDI2McWCXM4ab7GkoEV3JjbJA=
oauth_signature_method=HMAC-SHA1
oauth_timestamp=1727452915
oauth_version=1.0
resource_link_id=29466-50eb-4edf-b908-243106ba0ec6
roles=Learner
tool_consumer_info_product_family_code=stepikorg
tool_consumer_info_version=1.0
tool_consumer_instance_contact_email=help@stepik.org
tool_consumer_instance_description=Stepik
tool_consumer_instance_guid=stepik.org
tool_consumer_instance_name=Stepik
tool_consumer_instance_url=https://stepik.org

User ID and Step ID are encrypted in lis_result_sourcedid by the external system.

Please help with the following questions:
1. What information might Moodle lack from an external system to distinguish between users?
2. How to log on the Moodle side what LTI data was sent by the external system?

Thank you all in advance, have a nice day!

(Edited by Jake Dallimore - original submission Tuesday, October 1, 2024, 3:12 PM)

Media dei voti:  -