Non-core contributed modules

Drupal SSO for Drupal/Moodle sites that share both domain name and database

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9.6
  • Fix Version/s: None
  • Component/s: Auth: Drupal
  • Labels:
    None
  • Environment:
    Drupal
  • Database:
    Any
  • Affected Branches:
    MOODLE_19_STABLE

Description

This auth plugin is aimed at sites that integrate Drupal and Moodle under a single domain name, and keep the data for both programs in the same database (using Moodle's $CFG->prefix feature).

It is pretty much "fire and forget": install it, enable it, and you're done! A script is provided to be run at regular intervals to sync Moodle's and Drupal's user tables, but it isn't required for SSO to work.

Activity

Hide
Martín Langhoff added a comment -

FWIW, I've reviewed an early version, and it made sense.

Show
Martín Langhoff added a comment - FWIW, I've reviewed an early version, and it made sense.
Hide
Federico Heinz added a comment -

Anthony, do you think I could host this module at moodle.org? It seems like the logical place...

Show
Federico Heinz added a comment - Anthony, do you think I could host this module at moodle.org? It seems like the logical place...
Hide
Anthony Borrow added a comment -

moving to newly created Auth: Drupal component

Show
Anthony Borrow added a comment - moving to newly created Auth: Drupal component
Hide
Anthony Borrow added a comment -

Federico - Many thanks for your patience and my apologies for not following up on this sooner. The friendly bump was helpful. I have added the code to contrib/plugins/auth/drupal, created a component in the tracker and assigned you as the component lead so that any bug reports, improvements, etc. that are created will be automatically assigned to you and you will receive an email from the tracker. I have bumped your privileges in the tracker so that you can manage issues related to the Drupal authentication plugin. If you have not done so already, please review http://docs.moodle.org/en/Development:Guidelines_for_contributed_code to make sure that we complete all the little details. In particular, you will want to create an entry in the Modules and Plugins database for the authentication plugin. It will take 24 hours but the download link will be http://download.moodle.org/download.php/plugins/auth/drupal.zip. The link for the component which you can use for known bugs and issue is http://tracker.moodle.org/browse/CONTRIB/component/10573. The next step is to have you create a CVS write request by going to http://moodle.org/cvs/. Finally, you will probably want to create some documentation and some guidelines for doing that are in the aforementioned Guidelines for contributed code. You may also want to announce your code in the Moodle.org forums once we get everything setup. Thanks for sharing your time and talent with the Moodle community and providing a SSO/Moodle-Drupal authentication integration. I am always happy when I see such interaction between open source projects. Do not hesitate to let me know if I have overlooked anything, if you need anything or are having any troubles. Peace - Anthony

Show
Anthony Borrow added a comment - Federico - Many thanks for your patience and my apologies for not following up on this sooner. The friendly bump was helpful. I have added the code to contrib/plugins/auth/drupal, created a component in the tracker and assigned you as the component lead so that any bug reports, improvements, etc. that are created will be automatically assigned to you and you will receive an email from the tracker. I have bumped your privileges in the tracker so that you can manage issues related to the Drupal authentication plugin. If you have not done so already, please review http://docs.moodle.org/en/Development:Guidelines_for_contributed_code to make sure that we complete all the little details. In particular, you will want to create an entry in the Modules and Plugins database for the authentication plugin. It will take 24 hours but the download link will be http://download.moodle.org/download.php/plugins/auth/drupal.zip. The link for the component which you can use for known bugs and issue is http://tracker.moodle.org/browse/CONTRIB/component/10573. The next step is to have you create a CVS write request by going to http://moodle.org/cvs/. Finally, you will probably want to create some documentation and some guidelines for doing that are in the aforementioned Guidelines for contributed code. You may also want to announce your code in the Moodle.org forums once we get everything setup. Thanks for sharing your time and talent with the Moodle community and providing a SSO/Moodle-Drupal authentication integration. I am always happy when I see such interaction between open source projects. Do not hesitate to let me know if I have overlooked anything, if you need anything or are having any troubles. Peace - Anthony
Hide
Anthony Borrow added a comment -

Resolving - code added to CVS. Let me know if you need a separate version for 1.9 or for development purposes. The HEAD version can be used for development and a 1.9 version for stable. Tracker component created, privileges bumped, awaiting CVS write request, and possibly M&P entry, Docs, and Moodle.org post. Peace - Anthony

Show
Anthony Borrow added a comment - Resolving - code added to CVS. Let me know if you need a separate version for 1.9 or for development purposes. The HEAD version can be used for development and a 1.9 version for stable. Tracker component created, privileges bumped, awaiting CVS write request, and possibly M&P entry, Docs, and Moodle.org post. Peace - Anthony
Hide
P Jain added a comment -

Is there a version for 2.0?
I installed and get [[pluginname]] in "Available authentication plugin" Screen; and I am unable to activate it.

Show
P Jain added a comment - Is there a version for 2.0? I installed and get [[pluginname]] in "Available authentication plugin" Screen; and I am unable to activate it.
Hide
Anthony Borrow added a comment -

Closing all of my resolved issues. Peace - Anthony

Show
Anthony Borrow added a comment - Closing all of my resolved issues. Peace - Anthony

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: