Moodle 3 as a LTI provider for edX (a consumer that only supports LTI 1)

Re: Moodle 3 as a LTI provider for edX (a consumer that only supports LTI 1)

by John Okely -
Number of replies: 5

Yep, you can use Moodle 3.2 onwards as an LTI provider for LTI1 as well as LTI2. And Moodle 3.1 supports LTI1 provider as well (but not LTI2 provider)

If edX supports cartridges, all you need to do is copy the cartridge URL from the "Published as LTI tools" page. If not, open the cartridge in your browser and copy the launch URL instead.

After that, use the secret given on the "Published as LTI tools" page and choose any consumer key you want.

Average of ratings: Useful (1)
In reply to John Okely

Re: Moodle 3 as a LTI provider for edX (a consumer that only supports LTI 1)

by Beni Zaks -

Hi John

Your method (open the cartridge in your browser and copy the launch URL) worked well when connecting MOODLE 3.3 (LTI2) and MOODLE2.9 (LTI1

but the same method didn't work for me on EDX (they are still working with LTI 1)

I attached the error message on on EDX platform i got

do you have any suggestions?...

Thanks

Beni

Attachment Capture.JPG
In reply to Beni Zaks

Re: Moodle 3 as a LTI provider for edX (a consumer that only supports LTI 1)

by John Okely -

Are the EDX and the Moodle sites both accessible to each other? (e.g. publicly available?)

In reply to John Okely

Re: Moodle 3 as a LTI provider for edX (a consumer that only supports LTI 1)

by Beni Zaks -

Yes

In reply to Beni Zaks

Re: Moodle 3 as a LTI provider for edX (a consumer that only supports LTI 1)

by Tansu PANCAR -

Hello all,

I have a similar problem. When I try to use Moodle as LTI Provider and Open EdX as LTI consumer, the cartridge url can not be understood by Open Edx.

Moodle provides 3 parameters and LTI ID for LTI connection:

Cartridge URL  (which is an XML file since OpenEdx does not read the XML, I used the launch url shown in LTI from  XML file)
Client Secret
Registration URL

In Open Edx, LTI connection has 2 steps  first as shown in screenshot, you need to write LTI Passports (id:client_key:client_secret), and after saving the changes in this page.

In the content creation page, you add LTI content as an external resource, and write LTI ID (same as written in LTI Passports section) and LTI URL.
We have 4 different parameters which are used in these 2 steps:
LTI ID
client_key
client_secret
LTI URL

LTI ID and Client Secret are clear, for LTI URL I am using the launch URL obtained from cartridge URL, for client_key what should be written? When I write "test" in the client_key part, I receive the same error 

"Failed request. Reason: Sorry, there was an error connecting you to the application."

Attachment LTI Configuration 1.JPG
Attachment LTI Configuration 2.JPG
In reply to Tansu PANCAR

Re: Moodle 3 as a LTI provider for edX (a consumer that only supports LTI 1)

by David Ligne -

Hello everyone,


We have exactly the same problem here : Moodle as LTI Provider and Open EdX as LTI consumer, not working.


A (temporary) solution is to use the old LTI provider plugin : https://moodle.org/plugins/local_ltiprovider.

It still works with Moodle 3.5.