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

Implement the IMS LTI contexts membership service

XMLWordPrintable

    • MOODLE_26_STABLE
    • MOODLE_30_STABLE
    • MDL-41724-master
    • Hide

      1. On a Moodle instance with a DNS name, as admin, configure a new LTI tool with these details:

      URL : https://sakai-staging.lancs.ac.uk/moodle-lti-test/tool.php
      Key: sakai-staging-lti-test-harness
      Secret: secret

      Make sure to enable the sharing of rosters with the launched tool, under the Privacy settings.

      2. Add the tool to a course. The course needs a few enrolments. You could also add some groups to the course as these should also come over in the XML.
      3. Login as a Teacher
      4. Click on the tool.
      5. Click 'Test Moodle Membership API'
      6. Click 'Read Memberhips'

      You should get a chunk of response XML at the bottom of the screen, representing the set of users for the course. In this case, all is well. If you get nothing at the bottom, or an error message, please post it here, and I'll revisit the code.

      Show
      1. On a Moodle instance with a DNS name, as admin, configure a new LTI tool with these details: URL : https://sakai-staging.lancs.ac.uk/moodle-lti-test/tool.php Key: sakai-staging-lti-test-harness Secret: secret Make sure to enable the sharing of rosters with the launched tool, under the Privacy settings. 2. Add the tool to a course. The course needs a few enrolments. You could also add some groups to the course as these should also come over in the XML. 3. Login as a Teacher 4. Click on the tool. 5. Click 'Test Moodle Membership API' 6. Click 'Read Memberhips' You should get a chunk of response XML at the bottom of the screen, representing the set of users for the course. In this case, all is well. If you get nothing at the bottom, or an error message, please post it here, and I'll revisit the code.

      The LTI contexts membership service (http://developers.imsglobal.org/ext_membership.html) allows a provider to pull the course roster from the consumer, Moodle in this case. Some LTI enabled tools on the market, WebPA being one, need to provision a roster in advance of users individually launching the tool. Currently, if you want to use such tools, basiclti4moodle is the only choice, the core lti module won't work.

      To reproduce:

      Add WebPA as an external tool.
      Add the tool to a course with some students.
      Launch the tool as an instructor.

      You won't be able to synchronise rosters.

      Install basiclti4m and repeat the above using basiclti4m. You will now be able to sync rosters.

            moodle.com Moodle HQ
            adrian.r.fish@gmail.com Adrian Fish
            Sam Chaffee Sam Chaffee
            Damyon Wiese Damyon Wiese
            Votes:
            2 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.