![]() This lets the retrieve and resource_selection endpoints embed inside an iframe inside of New Quizzes. closes INTEROP-7752 closes INTEROP-7742 Test plan: - if you have New Quizzes set up, and they are embedding tools from within their tool, you might be able to test with that. Otherwise, you can test with LTI 1.3 test tool as mentioned below. - modify the LTI 1.3 test tool dev key to have internal_service=true - in the LTI 1.3 test tool's app/views/launch/launch.html.erb add an iframe pointing to resource_selection like this: <iframe src="http://web.canvas-lms.docker/courses/66/external_tools/181/resource_selection?parent_frame_context=155&editor=1" style="width: 600px; height: 400px" ></iframe> The parent_frame_context parameter should be your LTI 1.3 test tool ID. The first tool ID can be any LTI 1.1 tool (LTI 1.3 currently needs an additional change -- to the LTI 1.3 'authorize' endpoint -- to work) - Launch the LTI 1.3 tool. Your LTI 1.1 tool should successfully launch - Change the iframe you added above to a retrieve URL, e.g.: http://web.canvas-lms.docker/courses/66/external_tools/retrieve?url=http%3A%2F%2Fmylti1tool.example.com%2F&parent_frame_context=155" - Where the URL is a URL for an LTI 1.1 tool available in the course, and 155 is your LTI 1.3 test tool ID Change-Id: Ie27c030bbd95b85af60e391c14bf6c52aad087be Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/306023 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: Paul Gray <paul.gray@instructure.com> QA-Review: Paul Gray <paul.gray@instructure.com> Product-Review: Evan Battaglia <ebattaglia@instructure.com> |
||
---|---|---|
.. | ||
controllers | ||
graphql | ||
helpers | ||
messages | ||
middleware | ||
models | ||
observers | ||
presenters | ||
serializers | ||
services/course_pacing | ||
stylesheets | ||
views |