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

Warn that frame embedding should be enabled to share a tool

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      Requirements
      1. Two sites.
      • One for your LTI consumer.
      • One for your LTI provider.
      On your LTI provider site.
      1. Ensure your wwwroot points to the internal domain associated with your computer (for example - it was markn.per.in.moodle.com for me).
      2. Visit 'Site administration' > 'Security' > 'HTTP security'.
      3. Ensure 'Allow frame embedding' is unchecked.
      4. Visit 'Site administration' > 'Plugins' > 'Authentication' > 'Manage authentication'.
      5. Enable 'LTI'.
      6. Visit 'Site administration' > 'Plugins' > 'Enrolments' > 'Manage enrol plugins'.
      7. Enable 'Shared external tool'.
      8. Click on the settings for the 'Shared external tool'.
      9. Ensure there is a warning about turning on frame embedding.
      10. Visit a course and create an assignment.
      11. Visit 'Course administration' > 'Users' > 'Enrolment methods'.
      12. Add a shared external tool with 'Tool to be provided' selected to your assignment.
      13. Visit 'Course administration' > 'Shared external tools'.
      14. Make note of the URL and secret.
      On your LTI consumer site.
      1. Ensure your wwwroot points to localhost.
      2. Visit a course.
      3. Add a LTI activity and use the URL and secret from your LTI provider site and enter any consumer key you want.
      4. Log in as a student.
      5. Visit the course and click on the LTI activity.
      6. Check you get a warning that embedding is not enabled and an alternate URL that takes you to the resource.
      On your LTI provider site.
      1. Visit 'Site administration' > 'Security' > 'HTTP security'.
      2. Enable 'Allow frame embedding'.
      3. Visit 'Site administration' > 'Plugins' > 'Enrolments' > 'Manage enrol plugins'.
      4. Click on the settings for the 'Shared external tool'.
      5. Ensure there is no warning about turning on frame embedding.
      On your LTI consumer site.
      1. Visit the course and click on the LTI activity.
      2. Check you do not get a warning that embedding is not enabled and the activity loads as expected.
      Show
      Requirements Two sites. One for your LTI consumer. One for your LTI provider. On your LTI provider site. Ensure your wwwroot points to the internal domain associated with your computer (for example - it was markn.per.in.moodle.com for me). Visit 'Site administration' > 'Security' > 'HTTP security'. Ensure 'Allow frame embedding' is unchecked. Visit 'Site administration' > 'Plugins' > 'Authentication' > 'Manage authentication'. Enable 'LTI'. Visit 'Site administration' > 'Plugins' > 'Enrolments' > 'Manage enrol plugins'. Enable 'Shared external tool'. Click on the settings for the 'Shared external tool'. Ensure there is a warning about turning on frame embedding. Visit a course and create an assignment. Visit 'Course administration' > 'Users' > 'Enrolment methods'. Add a shared external tool with 'Tool to be provided' selected to your assignment. Visit 'Course administration' > 'Shared external tools'. Make note of the URL and secret. On your LTI consumer site. Ensure your wwwroot points to localhost. Visit a course. Add a LTI activity and use the URL and secret from your LTI provider site and enter any consumer key you want. Log in as a student. Visit the course and click on the LTI activity. Check you get a warning that embedding is not enabled and an alternate URL that takes you to the resource. On your LTI provider site. Visit 'Site administration' > 'Security' > 'HTTP security'. Enable 'Allow frame embedding'. Visit 'Site administration' > 'Plugins' > 'Enrolments' > 'Manage enrol plugins'. Click on the settings for the 'Shared external tool'. Ensure there is no warning about turning on frame embedding. On your LTI consumer site. Visit the course and click on the LTI activity. Check you do not get a warning that embedding is not enabled and the activity loads as expected.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-54103_master

      Description

      Currently LTI providers need to visit 'Site administration' > 'Security' > 'HTTP security' and enable 'Allow frame embedding' in order to share activities to consumers (if they are on a different host) otherwise it is not displayed and the consumer is left wondering what is going on. We should provide an alternative link so that if embedding is disabled the consumer can still access the tool and we should also notify the LTI provider somewhere about this.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  23/May/16