-
-
Notifications
You must be signed in to change notification settings - Fork 165
LTI section identification #2700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
I think each LMS might do this different. In Canvas I have to specifically tell canvas what variable to send with the section value, by adding a custom variable, which I just call section,
|
I was happy to get this working (originally for LTI 1.1, and years later for LTI 1.3) without the But for LTI 1.3, I am a little hopeful that |
I just checked the LTI 1.1 spec, and what I am proposing to change here ( |
Yeah, the section and recitation were added to emulation LTI 1.1, although the specification does allow for custom claims and that is the equivalent of a custom key for LTI 1.1. See https://www.imsglobal.org/spec/lti/v1p3#custom-properties-and-variable-substitution. Custom variables for LTI 1.3 can be set in the LMS in the external tool definition. I am not sure that this should be changed for LTI 1.1. It is documented how to use a custom field to pass this at https://webwork.maa.org/wiki/LTI_Authentication_(for_WeBWorK_2.18_or_newer). If this is changed then the documentation will also need to be updated. |
If the LTI 1.3 part of this might be good, I could just drop the LTI 1.1 part. I'm curious to see if the LTI 1.3 change does good things overall or if it just happens to work well with our D2L instance. |
538f0db
to
9a503ea
Compare
I changed this to only change the section setting for LTI 1.3, and leave LTI 1.1 alone. |
I was actually going to tell you to leave the 1.1 change in. Although that has been documented on the wiki, I never really thought that was a very good mechanism. It really only works if you have per course tools and add a custom variable. At my institution I have a single external tool set up for all courses (a Canvas admin set this up for me), and custom variables really don't give per course information with that. I am just not certain how useful the custom variable thing was, and I think that is something that would be better handled using the I also just generally didn't like that something like that is hard coded in the way it was. I think that an even better way to go would be to have a setting as we do with |
I like both the idea of adding a |
9a503ea
to
50143e0
Compare
I brought back the change to LTI 1.1 for section. Moving to a "preferred source" and removing recitation entirely feel like larger projects that could be done separately, later. Before removing recitation, I suggest we query the Runestone WW hosting database to see if there are any active use cases we should still consider supporting. Even if it's not being used to classify students into true recitations, people might be using it to categorize students for some reason beyond their section. |
If we keep recitation, then we should add both a Note that what I meant by the section can be used for both is that you could set section to be something I don't believe that there is any LMS that directly support recitations. Section categorization is as far as any other system out there ever directly supports. |
Perhaps this should be rejected; it may be specific to D2L Brightspace.
But these are local changes we have so that when student WW accounts are created using LTI, their sections from the LMS will carry over into their WW account. Let me know if one or both of these are wrong for Canvas or Moodle, and I will modify or withdraw the PR.
Note: this is not useful when all students in a D2L course are from the same section. However it is common here to cross-list multiple sections into one D2L course. So these settings help us sort students in the one WW course based on their section number.