Active
Project:
Moodle Single Signon
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2010 at 02:13 UTC
Updated:
14 Jun 2011 at 16:24 UTC
Hello guys
I did a version of Single Sign On with share cookie for Drupal 6, please consider to include as a official version of this module.
Regards
enzo
| Comment | File | Size | Author |
|---|---|---|---|
| moodlesso.tar_.gz | 10.53 KB | -enzo- |
Comments
Comment #1
borgo commentedWell, I tried to use it and it took me a while till I fugured out that 2 things.
1. on /user/*/edit page what is called "Last name" should be called "Moodle Password" - where as with username, you enter your moodle site password
2. on /admin/settings/moodlesso I had to set "Salt" to same string as in my moodle config.php file
I am now able to login to drupal and moodle simultaneously. Sadly I need more than that, synchronized users = any change to drupal user account is reflected in moodle. Was there any work done on this?
So for now, I changed modlesso.module lines 174-175
Comment #2
Bodeman commentedI am trying this out and I don't understand the comment about Salt equal to the same string as in config.php. Did you add a new string there or are you referring to some existing string?
Indeed this seems clunky.
Comment #3
-enzo- commentedHello Bodeman
When I said salt I mean moodle use in their configuration an optional salt string used in password generation. For this reason I mean we need to use the same salt we had in our moodle installation.
Besides Moodle is clunky :P
Comment #4
Chris Johnson commentedOne way to achieve synchronized users is to use Moodle's "External database authentication" feature. You can read about it here: http://docs.moodle.org/en/auth/db
Comment #5
benomite commentedIs there a version of this SSO compatible with moodle 2.0?
If not, do you know what to modify in the moodlelib.php file?
Thanks!
Comment #6
fixer22 commented#4 thx! its perfect