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

LTI Dynamic Registration: missing authorization endpoint

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      In this test, we deploy an LTI 1.3 test tool using dynamic registration and verify the authorization endpoint is passed to the tool.

      pre-requisite

      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.

      Dynamic registration

      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)
        1. In particular the authorization endpoint
      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
      Show
      In this test, we deploy an LTI 1.3 test tool using dynamic registration and verify the authorization endpoint is passed to the tool. pre-requisite 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. Dynamic registration 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) In particular the authorization endpoint 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
    • Workaround:
      Hide

      The tool will need to hardcode the path to the authorization endpoint: /mod/lti/auth.php

      Show
      The tool will need to hardcode the path to the authorization endpoint: /mod/lti/auth.php
    • Affected Branches:
      MOODLE_310_STABLE
    • Fixed Branches:
      MOODLE_310_STABLE
    • Pull from Repository:
    • Pull 3.10 Branch:
      MDL-70074-add-authendpoint-310
    • Pull Master Branch:
      MDL-70074-add-authendpoint

      Description

      To register a platform through dynamic registration, the platform must expose its authorization endpoint.

      Without this fix the tool will need to hardcode the moodle path based on the issuer to be able to complete the registration.

        Attachments

          Activity

            People

            Assignee:
            claudevervoort Claude Vervoort
            Reporter:
            claudevervoort Claude Vervoort
            Peer reviewer:
            Jake Dallimore
            Integrator:
            Jun Pataleta
            Tester:
            Anna Carissa Sadia
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              9/Nov/20

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 40 minutes
                2h 40m