Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-53832 Upgrade enrol_lti to support LTI v2.0
  3. MDL-55562

Support LTI 1 launch urls with new library

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: None
    • Component/s: Enrolments, LTI provider
    • Labels:
    • Testing Instructions:
      Hide
      On a Moodle 3.1+ site (SITE A)
      1. Enable the LTI authentication plugin. (Site administration ► Plugins ► Authentication ► Manage authentication)
      2. Then go to Site administration ► Plugins ► Enrolments ► Manage enrol plugins and enable Publish as LTI tool
      3. Create a course and add an activity (e.g. a Page resource).
      4. Under Course administration, click Enrolment methods
      5. Under Add a method select Publish as LTI tool.
      6. Enter a Custom instance name
      7. Under Tool to be published select Course
      8. Click Add method.
      9. Under Course administration, click Published as LTI tools. Take note of the cartridge (or tool) URL and secret to be used later.
      On another Moodle 3.1+ site (SITE B)
      1. Log in as admin.
      2. Create a course and enrol some students.
      3. Add an external tool activity.
      4. Enter a name for the activity.
      5. Enter cartridge/tool URL from SITE A into the Launch/cartridge URL field.
      6. Click Show more to expand the form.
      7. Enter any non-empty string value for the Consumer key.
      8. Enter the secret from SITE A into the Shared secret field.
      9. Click Save and return to course.
      10. Login as a student enrolled to the course and open the LTI tool.
        • Confirm that it launches normally.
      Show
      On a Moodle 3.1+ site (SITE A) Enable the LTI authentication plugin. (Site administration ► Plugins ► Authentication ► Manage authentication) Then go to Site administration ► Plugins ► Enrolments ► Manage enrol plugins and enable Publish as LTI tool Create a course and add an activity (e.g. a Page resource). Under Course administration, click Enrolment methods Under Add a method select Publish as LTI tool . Enter a Custom instance name Under Tool to be published select Course Click Add method . Under Course administration, click Published as LTI tools . Take note of the cartridge (or tool) URL and secret to be used later. On another Moodle 3.1+ site (SITE B) Log in as admin. Create a course and enrol some students. Add an external tool activity. Enter a name for the activity. Enter cartridge/tool URL from SITE A into the Launch/cartridge URL field. Click Show more to expand the form. Enter any non-empty string value for the Consumer key . Enter the secret from SITE A into the Shared secret field. Click Save and return to course . Login as a student enrolled to the course and open the LTI tool. Confirm that it launches normally.
    • Affected Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
      MDL-55562-master

      Description

      Use the new library that's currently working for tool proxies to work with LTI 1 launches.

      This means giving a launch url with a working secret that can be used by anyone without a proxy.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jpataleta Jun Pataleta
                Reporter:
                johno John Okely
                Peer reviewer:
                John Okely
                Participants:
                Component watchers:
                Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón, Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: