[Xerte] Re: Moodle Authentication Loop

Tom Luxon Tom.Luxon at occam-dm.com
Thu Oct 3 16:39:58 BST 2013


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 
---------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20131003/dd35647c/attachment-0001.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/dd35647c/attachment-0001.jpg>


More information about the Xerte mailing list