Moodle as Basic LTI Tool consumer and provider

422 views
Skip to first unread message

Enosha Hettiarachchi

unread,
Nov 4, 2011, 9:54:33 AM11/4/11
to Moodle-BLTI
Hello,

I have a question regarding Basiclti4moodle. I want to use moodle as
my
consumer and as the provider another moodle or anyother LMS. So that
students who are loged into the consumer can be able to access the
quizzes
in the provider and at the same time pass the grades from the provider
to
consumer.

It would be a great help, If anyone has any idea, suggestions or links
to
share.

Thank you
Enosha

csev

unread,
Nov 6, 2011, 9:49:04 PM11/6/11
to moodl...@googlegroups.com
This is an often-requested feature of Moodle. A number of folks have written prototype or specialized code that makes this work for a particular version of Moodle or for a particular set of use cases.

But no one has committed to building and maintaining code to do this for the long term across multiple versions.

This has been discussed in the Moodle Issue tracker at:

http://tracker.moodle.org/browse/MDL-20534

Perhaps we should start a separate LTI Provider issue tracker to collect discussion and interest around the topic.

Unfortunately we face a situation where lots of folks want this - but no one steps up to write it and maintain it :(

Sakai is the only LMS that is both a consumer and a provider. The Sakai provider can plug Sakai tools or courses into Moodle D2L or Blackboard. But Sakai does not yet send grades back via LTI because LTI 1.1 is not out yet. Even after LTI 1.1 is out, it will take a bit to figure out in Sakai what grades to send back from a tool and from a course - it will take some significant thought.

Hope this helps.

/Chuck

Enosha Hettiarachchi

unread,
Nov 7, 2011, 4:11:13 AM11/7/11
to moodl...@googlegroups.com
Dear Chuck,

Thank you for the information.

I installed moodle as my consumer and installed the code avaiable here (http://code.google.com/p/basiclti4moodle/downloads/list) under the mod folder.

And i was able to launch the provider moodle version within the consumer.
And i loged into the consumer as a student who is not in the provider.
Then accessed the provider with the consumber as a link, and the username is passed to the provider.
Here when i try to access the course it says, "A serious but unspecified error occurred while trying to assign a role to you".

Is there a possibilty to solve this problem?
If I am using another LMS as a consumer and moodle as provider, is there a particular module or code that i can use for this?
I am kind of new to this, so can you also pls let me know how i can use OAuth protocol?

Thank you
Enosha

Jordi Piguillem Poch

unread,
Nov 7, 2011, 4:25:00 AM11/7/11
to moodl...@googlegroups.com
Hi,

You will need to write some code to get this working.

First, you will need to write a tool producer for Moodle that understands LTI requests from the consumer.

Your second Moodle, won't work without user matching. You must write some code inside the producer that matches the user from the consumer with the correct one on the producer (if it does not exists, you must create it and assign a role to it)

Hope it helps.

Pigui
Jordi Piguillem Poch

j.pig...@gmail.com
http://blogs.dfwikilabs.org/pigui/
http://www.linkedin.com/in/jordipiguillempoch

-----------------------------------------------------------------------------
"And a man who tells lies, like me, merely hides the truth.
But a man who tells half-lies has forgotten where he put it."
     Claude Rains - Lawrence of Arabia
Reply all
Reply to author
Forward
0 new messages