(photo by oooh.oooh)

We recently posted about our project that implements Single Sign-On between Moodle and Elgg using Moodle Network (MNET). We wrote an Elgg plugin that extends the mnet-lib PHP library as part of this implementation.  This early version of the plugin allows Elgg to function as an Identity Provider (IdP)  so that its users can SSO to moodle.  The current implementation assumes that ELGG is the authorative system. It doesn't have the capability to act as Service Provider.  We expect to be doing a great deal more work to extend this plugin in its early stages so stay tuned!

We want to release our current code base in case anyone has a similar need.  This release has been tested under Elgg 1.6.1 and Moodle 1.9.7+.  Installation instructions are included in the tarball.

Download the plugin.

Learn more about our work with ELGG.

posted in , ,

Patch

Maybe it's just me, or maybe I managed to mess it up somewhere along the line, but I ended up having to patch the start.php file:

[svcmarketing@wddrhl02 mnet_support]$ diff -u start.php.orig start.php
--- start.php.orig    2011-01-10 14:00:23.000000000 -0600
+++ start.php    2011-01-10 14:00:44.000000000 -0600
@@ -76,9 +76,9 @@
                          break;
                    }
                }
-                include ($CONFIG->pluginspath . "mnet_support/pages/peers.php");
                break;
            default :
+                include ($CONFIG->pluginspath . "mnet_support/pages/peers.php");
                break;
        }
    }
@@ -92,4 +92,4 @@
    }
}

-?>
\ No newline at end of file
+?>

by Richard Lynch on 01/10/11

Add comment