This project provides the Drupal functionality required to allow the Moodle training management system to SSO share Drupal sessions. Users of this will need to use the following Moodle plugin: https://github.com/cannod/moodle-drupalservices/tree/2.x-2.x-dev
This is mostly a configuration export in the form of a feature, and as such will have a large number of module dependencies; specifically:
- Features
- Strongarm
- Services
- Views
Important note: SSO can only happen between sites that can share cookies. This means the following configurations will work:
moodle.example.com
drupal.example.com
www.example.com (running drupal)
moodle.example.com (running moodle)
www.example.com (running moodle)
drupal.example.com (running drupal)
Sites with subdirectories should also work:
www.example.com (running drupal)
www.example.com/moodle (running moodle)
www.example.com (running moodle)
www.example.com/drupal (running drupal)
In order for this to work, the $cookie_domain value located in the settings.php file on the drupal site must be modified to use a shared cookie.
for all of the subdomain examples above, the line should read:
$cookie_domain = ".example.com";
* note the leading dot before example.com
for all of the subdirectory examples, the line should read:
$cookie_domain = "www.example.com";
*note the lack of a directory at the end of the domain.
Good luck and enjoy!
Project information
- Seeking co-maintainer(s)
Maintainers are looking for help reviewing issues. - 74 sites report using this module
- Created by netw3rker on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 7.x-1.x-dev updated 3 Feb 2016 at 04:03 UTC