Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-76602

Cannot add LTI 1.3 LTI service without modifying locallib

    XMLWordPrintable

Details

    • MOODLE_311_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE
    • MOODLE_400_STABLE, MOODLE_401_STABLE
    • MDL-76602-400-lti13claims
    • MDL-76602-401-lti13claims
    • MDL-76602-master-lti13claims
    • Hide

      This is a technical story - no feature change. To test this, we just need to verify LTI Advantage Tool is still functioning. For this, we will use LTI Robotest:

      Prerequisite

      1. LTI Advantage requires your site to be reachable from the internet. If not, Install ngrok to expose your moodle setup externally. Refer here for additional guidelines
      2. Have a course with an instructor and a student.
      3. Have the Robotest Test app installed
        1. As site administrator, navigate to Site Admin > Plugins > Activity Modules > External Tool > Manage Tools
        2. In the box that says tool url enter: https://robotest.theedtech.dev/register
        3. Click the Add LTI Advantage button
        4. The test tool should open with a trace of the communication with Moodle, all should be green (thumbs up).
        5. Click the close button - the test app UI should disappear and the list of tools refreshing
        6. Verify the Robotest app has been added and is not yet activated
        7. Click the Activate button

      Testing

      1. As an Instructor, go to the course and turn editing on
      2. Add Activity -> External Tool
      3. In the External Tool page, select the Robotest Tool in the preconfigured tool, this should enable the select content button.
      4. Click on Select Content
        1. In robotest UI, selects One of Each option
        2. When back in Moodle, save
      5. Verify the links are created in the course
      6. Log out and back as a student
      7. Click on the gradedlink
      8. Verify there is no error (Robot thumbs up)
      Show
      This is a technical story - no feature change. To test this, we just need to verify LTI Advantage Tool is still functioning. For this, we will use LTI Robotest: Prerequisite LTI Advantage requires your site to be reachable from the internet. If not, Install ngrok to expose your moodle setup externally. Refer here for additional guidelines Have a course with an instructor and a student. Have the Robotest Test app installed As site administrator, navigate to Site Admin > Plugins > Activity Modules > External Tool > Manage Tools In the box that says tool url enter: https://robotest.theedtech.dev/register Click the Add LTI Advantage button The test tool should open with a trace of the communication with Moodle, all should be green (thumbs up). Click the close button - the test app UI should disappear and the list of tools refreshing Verify the Robotest app has been added and is not yet activated Click the Activate button Testing As an Instructor, go to the course and turn editing on Add Activity -> External Tool In the External Tool page, select the Robotest Tool in the preconfigured tool, this should enable the select content button. Click on Select Content In robotest UI, selects One of Each option When back in Moodle, save Verify the links are created in the course Log out and back as a student Click on the gradedlink Verify there is no error (Robot thumbs up)

    Description

      LTI 1.3 relies on properties in the id_token rather than custom parameters to expose services endpoint to the tool. The declaration of those claims are in the core lib of LTI, breaking the encapsulation of services as subplugin and preventing subplugins to be installed independently from a full LTI plugin update.

      This ticket creates a way for a sublplugin to advertise its claim definitions, fixing the encapsulation issue.

      Attachments

        Activity

          People

            claudevervoort Claude Vervoort
            claudevervoort Claude Vervoort
            Jake Dallimore Jake Dallimore
            Paul Holden Paul Holden
            Kim Jared Lucas Kim Jared Lucas
            Jake Dallimore, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              13/Mar/23

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 49 minutes
                1h 49m