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

Unable to resolve the consumer's image URL breaks access to LTI provider

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.1
    • 3.1
    • Enrolments, LTI provider
    • MOODLE_31_STABLE
    • MOODLE_31_STABLE
    • MDL-55027_master
    • Hide
      1. Set up your site as an LTI provider (see https://docs.moodle.org/31/en/Publish_as_LTI_tool).
      2. Visit a course.
      3. Click on 'Published as LTI tools' under 'Course administration'.
      4. Click on 'Add'.
      5. Set the 'Custom instance name' to 'Course' and 'Tool to be published' to course.
      6. Make note of the URL and secret.
      7. Visit http://lti.tools/test/tc.php.
      8. Set the 'Launch URL' and 'Shared secret' to the values from earlier.
      9. Set the 'Consumer key' to anything.
      10. Click on 'Display optional parameters'
      11. For the 'Image' under 'User data' set it to 'http://lti.to1231231ols/test/images/lti.gif'.
      12. Click 'Save data'.
      13. Now, click 'Launch TP' and ensure it works as expected.
      Show
      Set up your site as an LTI provider (see https://docs.moodle.org/31/en/Publish_as_LTI_tool ). Visit a course. Click on 'Published as LTI tools' under 'Course administration'. Click on 'Add'. Set the 'Custom instance name' to 'Course' and 'Tool to be published' to course. Make note of the URL and secret. Visit http://lti.tools/test/tc.php . Set the 'Launch URL' and 'Shared secret' to the values from earlier. Set the 'Consumer key' to anything. Click on 'Display optional parameters' For the 'Image' under 'User data' set it to 'http://lti.to1231231ols/test/images/lti.gif'. Click 'Save data'. Now, click 'Launch TP' and ensure it works as expected.

      Currently if the consumer provides a broken image URL they can not access the LTI provider. This should not prevent access to the provider.

      See forum discussion where this is happening to a user - https://moodle.org/mod/forum/discuss.php?d=333917#p1351652.

            markn Mark Nelson
            markn Mark Nelson
            cameron1729 cameron1729
            Dan Poltawski Dan Poltawski
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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