LTI 1.3 custom variables

LTI 1.3 custom variables

by Javier Galarza -
Number of replies: 2
Hi! quick question about custom parameters . is there a way to provide user and course information like the id/uuid ? I use this variable to maintain some kind of session on my tool. Other LMS use custom parameters in LTI with a set of variable that we can use to get this kind of information but I could not find documentation related to this topic in Moodle. Also, I have notice that the version 4.1 is returning the claim  basicoutcome  which in some way I can use to get this kind of information but in version 4.2 this claim was removed. What would be general approach if I would like to maintain compatibility between Moodle's versions ? 
Average of ratings: -
In reply to Javier Galarza

Re: LTI 1.3 custom variables

by Jake Dallimore -
Picture of Core developers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi Javier,

You can find the supported substitution parameters in locallib. Of course user id is always provided in launches anyway in 1.3, under the 'sub' claim. If you're using it for uniqueness though, remember that it is only unique within that issuer. Personally, I wouldn't bother with basic outcomes now that you're running 1.3. I'd stick to those services defined in the LTI Advantage suite of specs.

Cheers,