...
With minimal differences, this same guide could be used to link together two Open edX instances, one as an LTI Consumer of the other’s LTI Provider-ed library content.
edXers: I performed this set-up on Stage for a few different blocks in the same unitHere is one of the set of items I did this for:
LTI tool key: https://studio-internal.stage.edx.org/admin/lti1p3_tool_config/ltitoolkey/1/change/
Course unit: https://studio.stage.edx.org/container/block-v1:edX+Kyle+1+type@vertical+block@ce412f100d9a4b379dfce61304f7d0a3block@c1fcbb5be2574e1caee5753ae1c990fc
Library: https://library-authoring.stage.edx.org/library/lib:edx:Kyle-1.
Admin view: https://studio-internal.stage.edx.org/admin/content_libraries/contentlibrary/4437/change/
https://studio-internal.stage.edx.org/admin/lti1p3_tool_config/ltitool/1/change/
https://studio-internal.stage.edx.org/admin/lti1p3_tool_config/ltitool/2/change/
Library block keys:
lb:edx:Kyle-1:drag-and-drop-v2:9556e07a-15ec-427f-acf5-d1d5851dc7e7
lb:edx:Kyle-1:html:97200cef-afbc-4f44-b9f6-1765f85b7485
lb:edx:Kyle-1:problem:e6d2c741-9fec-4ea7-bed2-174ac0d03265
lb:edx:Kyle-1:video:ac2029fb-f8d0-415e-8db6-c2eef462ca57
LTI tools:
key:
899d12ee-27e3-4137-8390-dc8f263630e4
LTI tool config: https://studio-internal.stage.edx.org/admin/lti1p3_tool_config/ltitool/
3/change/https://studio-internal.stage.edx.org/admin/lti1p3_tool_config/ltitool/4/
Contents
Table of Contents |
---|
...
Back on the main library editing page, add a component or a few and hit Publish
! (As of 2021-Oct, the visual editors for HTML, Video, and Problem are broken. You can edit blocks of those types by editing their OLX source directly, or you could use advanced components such as drag-and-drop).
...
Finally, click into the “Edit” page “Copy LTI URL” for the library block you’d like to reference in your course via LTI. Make note of the block usage key at the end of the URL; it should look something like lb:myorg:mylib:myblocktype:abcd1234-dcba-4321-abcd12345678
. This is the “Launch URL” of the library component. Save it for the next step.
Reference the library from a course via the LTI Consumer Block
...
Display Name | (anything) |
---|---|
LTI Application Information | (anything) |
LTI Version | LTI 1.3 |
Tool Launch URL | https://studio.stage.edx.org/api/libraries/v2/lti/1.3/launch/?id=<your_library_block_usage_key> (where <your_block_usage_key> is the usage key from your library block that you made a notice of earlier(your LTI launch URL from the library block) |
Tool Initiate Login URL | https://studio.stage.edx.org/api/libraries/v2/lti/1.3/login/ |
Tool Public Key | (your LTI Tool public key from earlier) |
...