[Xerte] Re: Moodle Authentication Loop

Smith, John J.J.Smith at gcu.ac.uk
Thu Oct 3 17:19:53 BST 2013


Hi all,

Just a word of caution. I'm pretty sure that the session restart code in upload doesn't handle moodle session prefix yet so you might not be able to upload in Firefox or Safari - something i still need to document.

Regards

John Smith
Learning Technologist
School of Health and Life Sciences

Sent from Samsung Galaxy SII



Tom Luxon <Tom.Luxon at occam-dm.com> wrote:


Hi Ron,

Thanks for your reply.

I am using Xerte Toolkits 2.0.
If I set auth_config to:
$xerte_toolkits_site->authentication_method = 'Guest';
//$xerte_toolkits_site->authentication_method = 'Ldap';
//$xerte_toolkits_site->authentication_method = 'Db';
//$xerte_toolkits_site->authentication_method = 'Static';
//$xerte_toolkits_site->authentication_method = "Moodle";

Then it still redirects to the moodle page and starts looping.

If I login to moodle first and then click the hyperlink I made to xerte it loops back to the moodle logon page.

I installed xerte first, and then moodle – my method of moodle integration followed Ron Mitchell’s patch guide where there are 5 files to change in the xerte directory:
session.php
management.php
index.php
config.php (if using 1.6 or later)
\website_code\php\scorm\export.php

How would I add a cookie prefix?

Thanks

Kind Regards

Tom Luxon

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 October 2013 15:07
To: 'Xerte discussion list'
Subject: [Xerte] Re: Moodle Authentication Loop

What version of XOT are you using?
Does it all work with auth_config.php set to guest?
What happens if you login to moodle first and then follow the link to xot?
The fact that you are being redirected when visiting xerte first suggests the integration path is correct - did you add that during install or via management.php?
Can you try adding a cookie prefix in Moodle and try again? Although watch that it will log people out when you change it so do it off-peak.

Just a few thoughts.
Ron

From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Luxon
Sent: 01 October 2013 17:13
To: Xerte discussion list
Subject: [Xerte] Re: Moodle Authentication Loop

Hi,

Yes they are both installed on the same server under the same folder structure.

Thanks

Kind Regards

Tom Luxon

From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 27 September 2013 14:42
To: 'Xerte discussion list'
Subject: [Xerte] Re: Moodle Authentication Loop

It sounds like http://SERVERIP/xertetoolkits can't access the session info from http://SERVERIP/moodle/ are theu both on the same server?

From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Luxon
Sent: 26 September 2013 09:39
To: xerte at lists.nottingham.ac.uk<mailto:xerte at lists.nottingham.ac.uk>
Subject: [Xerte] Moodle Authentication Loop

Hi There,

I have tried to setup Moodle authentication with Xerte but have encountered a slight problem, please could you help?

What happens is:


1.       I navigate to http://SERVERIP/xertetoolkits

2.       This redirects me to http://SERVERIP/moodle/login/index.php from where I am able to enter my AD username and password successfully. I am logged into moodle where I then click a link I added (http://SERVERIP/xertetoolkits) which should take me back to the xerte site….. (the link is there as I have not installed xerte within moodle)

3.       When I click the link or enter the xerte address in the same browser window I get directed back the moodle login page.

Can someone please tell me where I have gone wrong?

Thank you

Kind Regards

Tom Luxon
[cid:image001.jpg at 01CEC054.AC118BE0]<http://www.occam-dm.com/>


________________________________
This email message has been delivered safely and archived online by Mimecast.
For more information please visit http://www.mimecast.com
________________________________

________________________________
This email message has been delivered safely and archived online by Mimecast.
For more information please visit http://www.mimecast.com
________________________________


________________________________
This email message has been delivered safely and archived online by Mimecast.
For more information please visit http://www.mimecast.com
________________________________

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3374 bytes
Desc: image001.jpg
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20131003/9b1b22ae/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3374 bytes
Desc: image001.jpg
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20131003/9b1b22ae/attachment-0001.jpg>


More information about the Xerte mailing list