LTI 1.3 Score POST Fails "User in requested score does not exist"
I have a tool that integrates with D2L via LTI 1.3. While the LTI "Launch" flow works perfectly, I'm running into an issue when trying to post scores to the Line Item where the launch originated from. Assignments and Grade Services is enabled in the external tool settings (in D2L).
I've constructed the URL and request body following the IMS spec:
The user ID value used in the score POST request is the user_id included in the initial LTI Launch Claims (i.e. "http://www.brightspace.com" → "user_id"). I'm able to post scores to other LMS platforms using the same logic.
Any suggestions would be greatly appreciated!
Answers
-
This was solved by using the value of the "sub" claim (of the LTI Launch Request claims) as the LTI User Id, rather than the "user_id" contained within the "http://www.brightspace.com" claims.
-
Hello @Sean.D.501,
I am facing the similar issue when trying to post a score to my lineitem( data: 'User in requested score does not exist')
I did tried to update the userId with the "sub" and it worked.
Thanks
Aravind