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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1.1
    • Component/s: Enrolments, LTI provider
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-55027_master

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            markn Mark Nelson
            Reporter:
            markn Mark Nelson
            Peer reviewer:
            cameron1729
            Integrator:
            Dan Poltawski
            Tester:
            Adrian Greeve
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Jul/16