Moodle LTI Producer and Canvas - Need Help

Re: Moodle LTI Producer and Canvas - Need Help

by John Okely -
Number of replies: 3

Thanks for commenting. I wouldn't have thought anything would have changed between 3.1 and 3.2 to affect this. If you get time and can try it on a 3.2 instance with the same settings that would help a lot.

Is there anything else you had to do besides the steps you mentioned?

In reply to John Okely

Re: Moodle LTI Producer and Canvas - Need Help

by Martin Biermann -

I just set up an LTI-handshake between Canvas (https://mitt.uib.no; my University's LMS) and Moodle (https://nukit.ihelse.net) using Moodle 3.3.

The reason: I wanted to use Moodle's anonymous Feedback activity in a canvas course (see our recent publication doi: 

10.1177/2058460117720858)

To set up LTI, The documentation http://docs.moodle.org/33/en/Publish_as_LTI_tool  worked pretty much as expected.

However: You MUST enable the "Publish as LTI tool" plugin under
Site/Plugins/Enrolmens/Publish as LTI tool BEFORE you create the LTI configuration for your moodle course.

There were some minor glitches getting things to work in Canvas. Go to Settings/Apps and press "+ App". Choose the configuration type "Paste XML".
In Moodle, go to Course administration/Published at LTI tools.
Navigate to the page under "Cartridge URL" and paste the XML code into the dialog box in Canvas. Make sure it is pure XML without formatting codes inserted by Internet Explorer etc.
The "user key" in Canvas is the name of your LTI object in Moodle, the "shared secret" is the secret in Moodle.
Once the app is saved in Canvas, you can embed it in any Canvas module like any static page etc.
However, the external Moodle page did not come up at once. I had to edit the module and the properties of the app and check "open in a separate tab". From that point onward, things worked like a charm.


In reply to Martin Biermann

Re: Moodle LTI Producer and Canvas - Need Help

by Carly Born -

Martin,

I just tried to follow your instructions and Canvas is tell me that the Cartridge XML from my Moodle 3.3 is an "Invalid XML Configuration".  So it won't let me save the app.  Do you have any other suggestions?

In reply to Carly Born

Re: Moodle LTI Producer and Canvas - Need Help

by Martin Biermann -

I just imported 2 Moodle activities (anonymous survey via the Moodle "Feedback" activity) into two of my Canvas courses at https://mitt.uib.no via the same mechanism. My instructions are still valid, the only change in Canvas is that the user key is now called "Consumer key".

I advise you to paste in the xml WITHOUT any formatting characters as described. You may want to copy the screen contents of the cartridge.xml into a plain text editor (such as notepad++) first, so that you can be sure that is is pure xml. The opening tag is <cartridge_basiclti_link>, the closing tag is <cartridge_basiclti_link> and there should be NO characters (not even a white space) outside these tags.

Hope that helps.