Guide: IMS 1.3 test tool integration
Here are the steps that i’ve used to configure xblock with LTI 1.3 test tool offered by IMS:
Visit LTI v1.3 Reference Implementation Test Tool to by IMS here https://lti-ri.imsglobal.org/lti/tools.
Click on “Add Tool”.
It’ll show you a lot of input fields.
Name: Add anything here.For
Private key, visit https://lti-ri.imsglobal.org/keygen/index. You’ll find public and private keys here. Copy/paste the private key.Go to Open edX Studio. Create an xblock with type “LTI Consumer”.
Edit the xblock. Add anything in
Display NameandLTI Application Information. SelectLTI VersionasLTI 1.3. Click “Save”. LTI xblock will be saved and will show a bunch of information like in the image below.Copy
Client IDvalue from xblock and paste inClientfield in IMS tool.Copy
Deployment IDfrom xblock and paste inDeploymentfield in IMS tool.Copy
Keyset URLfrom xblock and paste inKeyset urlfield in IMS tool.Copy
Access Token URLfrom xblock and paste inOauth2 urlfield in IMS tool.Copy
Login URLfrom xblock and paste inPlatform oidc auth urlfield in IMS tool.Click on “Create tool”. You should see a message saying “Tool was created successfully”.
Take note of the URL of the page you are redirected to. It should be like https://lti-ri.imsglobal.org/lti/tools/5852. The number at the end, 5852, is the tool ID.
Again edit the xblock. Set
Tool Public Key ModetoPublic KeyCopy public key from https://lti-ri.imsglobal.org/keygen/index and paste in
Tool Public Key.Create tool launch URL as
https://lti-ri.imsglobal.org/lti/tools/<tool_id>/launcheswhere tool_id is what we extracted above. Paste the URL inTool Launch URL.Create tool initiate login URL as
https://lti-ri.imsglobal.org/lti/tools/<tool_id>/login_initiations. Again, replace the tool_id with what we extracted above. Paste the URL inTool Initiate Login URL.Click “Save”. Publish the unit. View unit in LMS. You should see the IMS tool interface.
Click on “Send GET Request”. If launch is successful, you should receive a message like in the image below.
You need to launch the tool from the LMS, not from Studio.
Points to incorporate:
Launch from new window.
User same browser session for IMS and Open edX for logged-in testing.