-
Notifications
You must be signed in to change notification settings - Fork 25
Home
Welcome to the moodle-drupalservices wiki!
Moodle plugin to connect to Drupal services
This is a moodle authorisation pluging that allows for SSO between Drupal and Moodle. All users are maintained on Drupal and Moodle authenticates via REST to the drupal Services module.
This plugin utilises the drupal services module to provide SSO between Drupal and Moodle. Drupal being the system that does all user management.
- Checks to see if there is a valid Drupal session cookie.
- If so, tries to connect to Drupal services and retrieve drupal user info.
- If drupal user is valid and the user exists in Moodle then the user is logged into Moodle.
- Upon logout, the user is also logged out from drupal.
This plugin does not sync users by username but instead by uid (drupal side) and ID number (Moodle side). This allows the username to change on drupal and prevents moodle from creating a new user if the username changes. This does mean that the ID number field must be locked or you could have big problems and possible security issues.