[Xerte-dev] Re: LTI Provider

Simon Atack Simon.Atack at nottingham.ac.uk
Wed Oct 3 11:08:23 BST 2012


Ron,

Sorry about not mentioning to run upgrade.php I assumed (wrongly!) that standard practice would be to run each time when upgrading code.

It should work with all the authentication methods, I had only used it against LDAP. I have just switched to static as authentication and gone through it and it appears to work as Id expect.

The steps will be (I have attached screen grabs to compare to)

1st you should get a login asking for username/password ( this will only appear once) [Xerte-lti-1.png]
2nd you should get a screen with instructions on the left and list of projects in the right with a select button at the bottom [Xerte-lti-2.png] an empty workspace & [Xerte-lti-3.png] for workspace with some content.

The obvious thing I can think of is you didn't put the correct url into the Tool Base URL,  it should be the usual Xerte url with the addition of /LTI/ on the end as only this URL is configured to accept the LTI link

Simon


From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 October 2012 10:10
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: LTI Provider

Hi Simon
thought I'd have a go at testing this for you but may be misunderstanding how it works. Firstly will it only work with XOT configured for LDAP or should it also work if XOT is set to static authentication?

Results of tests so far:

1. Realised I had to run upgrade.php to create the lti table - this worked fine.
2. Adding a key and secret via management.php also worked fine.
3. Configuring the Moodle external tool via admin > manage plugins etc also worked fine
4. Adding an external tool activity to a course and selecting save and display simply launches the XOT login page and upon login shows the workspace e.g. there isn't an option to select a specific LO for the link. Is this because it won't work with static authentication or am I missing something?

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Simon Atack
Sent: 02 October 2012 17:14
To: xerte-dev at lists.nottingham.ac.uk
Subject: [Xerte-dev] LTI Provider

First thank you all for the welcome.

Yesterday I submitted to svn the LTI Provider integration function I have been working on.  This allow you to have launch Xerte from within a VLE giving single sign on etc (In moodle this is the External Tool activity plugin).

It handles the association between the LTI userid & the Xerte username (and allows regular re-authentication) and then if staff lets you select the  project you want to associate the link with, and then displays the project for subsequent launches of the link.  It also includes LTI Key/Secret Management in the main Xerte management interface.

I have tested it myself on my local box with a fresh install of Xerte (configured for LDAP authentication) and Moodle 2.2.2+.  I have tried to keep the changes as few as possible to integrate it in (I have extended a couple of functions to support extra parameters as well as factoring some repeated lines into functions so there is only 1 copy doing anything).  It would be really useful if others could download it,  test it out and give feedback.

There is a very brief documentation file LTI Documentation.txt included with a brief note of what you need to do, anyone having problems/or trouble understanding how to get it working please get it touch.

The LTI library is based off the IMS sample code for LTI in php and extended by UoN and has been used in the Rogo OSS project.

Thanks

Simon


This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121003/d420886a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xerte-lti-1.png
Type: image/png
Size: 79361 bytes
Desc: xerte-lti-1.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121003/d420886a/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xerte-lti-2.png
Type: image/png
Size: 77067 bytes
Desc: xerte-lti-2.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121003/d420886a/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xerte-lti-3.png
Type: image/png
Size: 80830 bytes
Desc: xerte-lti-3.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121003/d420886a/attachment-0005.png>


More information about the Xerte-dev mailing list