Original D5 description from original authors:

How this module works

Drupal module that sets a shared cookie, and maintains a database that moodle can read.
Uses moodle lazy account creation.

Alternative

Here is one way to get single-signon between Drupal and Moodle. It uses OpenID, with Drupal as the OpenId provider/server and Moodle as the relying-party/client.

To make it work, you'll need at a minimum:

1. Install Drupal's openid_provider module and patch it with the recent critical patches posted by me and Darren Ferguson. The current release of the openid_provider module is "broken" with respect to correctly implementing the OpenId protocol such that clients other than Drupal itself can work with it.

2. Install the Moodle OpenId authentication module, which comes with both plain vanilla OpenId and an OpenId SSO option. Using the SSO option, properly configured to specify your Drupal site as the server will allow single signon to happen.

3. You'll need to make one small change to the Moodle OpenId module to work around a shortcoming in the Drupal openid_provider module that does not allow it to handle compatibility requests correctly. This simple change forces Moodle to always use the OpenId v2 protocol. Since Drupal supports v2, having a compatibility mode with v1 is unneeded here. The change is:

In file auth/openid_sso/auth.php around line 217, change this:

<?php
$endpoint
->type_uris = array(Auth_OpenID_OPENID1_NS);
?>

to this:
<?php
$endpoint
->type_uris = array(Auth_OpenID_TYPE_2_0);
?>

Alternative 2

Another way to get single-signon between Drupal and Moodle is described at the following 2 links:

Downloads

Recommended releases

Version Downloads Date Links
5.x-1.0 tar.gz (9.55 KB) | zip (11.05 KB) 2009-Feb-19 Notes

Development releases

Version Downloads Date Links
5.x-1.x-dev tar.gz (9.56 KB) | zip (11.05 KB) 2010-Jul-11 Notes

Project Information

  • Maintenance status: Unknown
  • Development status: Unknown
  • Reported installs: 3 sites currently report using this module. View usage statistics.
  • Last modified: March 16, 2011

Maintainers for Moodle Single Signon

  • Chris Johnson - 2 commits
    last: 2 years ago, first: 2 years ago
  • Shiny - 12 commits
    last: 4 years ago, first: 4 years ago

Issues for Moodle Single Signon

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 29 May 07
nobody click here