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

LTI Tool URL incorrectly reported as misconfigured

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2
    • Fix Version/s: None
    • Labels:
    • Affected Branches:
      MOODLE_32_STABLE

      Description

      After following the procedure to create a "ContentType", I am seeing the warning message "Tool URL's domain does not match tool configuration." when editing the activity.

      1. Download and run ngrok

        ./ngrok http 80 --region=au
        

      2. Navigate to Site administration ► Plugins ► Activity modules ► External tool ► Manage tools.
      3. Enter "http://lti.tools/test/tp.php" into the Tool URL... field.
      4. Click Add
      5. On the IMS LTI Tool Provider: Tool registration emulator, click Registration.
      6. Select all of the options under Enabled capabilities.
      7. Select all of the options under Tool services.
      8. Click Register tool.
      9. On the confirmation page, click Yes to activate the tool.
      10. Click on the Edit link (the cog icon) for the Test tool provider entry.
      11. Click on Show more...
      12. Under Tool configuration usage, select Show in activity chooser and as a preconfigured tool.
      13. Click Save changes
      14. Create a course
      15. Login as a teacher enrolled to the course
      16. Turn editing on.
      17. Click Add an activity or resource.
      18. Select Test tool provider then click Add.
      19. Enter Test tool under Activity name
      20. Click Select content
      21. On the IMS LTI tool provider emulator dialogue, click Content-Item.
      22. Select "LTI launch 3 - a link to launch a different tool provider"
      23. Click Return selection to close the dialogue.
      24. Click "Save and return to course"
      25. Back on the course page, click on the "Edit" menu for the tool based from "Test tool provider".
      26. Click Edit settings and check the form.

      Expected

      • No warnings

      Actual

      • The following warning is displayed: "Tool URL's domain does not match tool configuration."

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              fred Frédéric Massart
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: