{"id":96,"date":"2009-06-25T02:28:35","date_gmt":"2009-06-25T02:28:35","guid":{"rendered":"http:\/\/danmarsden.com\/blog\/?p=96"},"modified":"2009-06-25T02:47:04","modified_gmt":"2009-06-25T02:47:04","slug":"mahoodle-sso-config","status":"publish","type":"post","link":"https:\/\/danmarsden.com\/blog\/2009\/06\/25\/mahoodle-sso-config\/","title":{"rendered":"Mahoodle SSO Config"},"content":{"rendered":"<p><a href=\"http:\/\/moodle.org\">Moodle<\/a> and <a title=\"Mahara\" href=\"http:\/\/mahara.org\">Mahara<\/a> complement each other quite well, and it&#8217;s <a title=\"Mahoodle config\" href=\"http:\/\/docs.moodle.org\/en\/Mahoodle\">been possible for a while<\/a> to set up SSO between them.<\/p>\n<p>We do a lot of Moodle+Mahara with SSO for our clients &#8211; and most of these are hosted on the same web server, but following the instructions in the document I linked above can be tedious and time-consuming!<\/p>\n<p>So I wrote an auto-config script that does the work for us!<\/p>\n<p>to keep it simple at this stage it is a single file, it contains lots of hard-coded error strings, and doesn&#8217;t always display them as pretty as it should, but it works!<\/p>\n<p>just drop the file into your moodle\/admin directory and call it via the browser (you will need to be logged in as an admin to use the script)<br \/>\nif your Mahara install has been dropped into your Moodle webroot, or if it&#8217;s in the directory above your moodle webroot it will automatically find it, and display the path in the form on the screen &#8211; if not, you will need to know the server path to your mahara install &#8211; it&#8217;s the same as the $CFG-&gt;dirroot you have configured in the Mahara config.php<\/p>\n<p>Once you&#8217;ve entered the Mahara dirroot on the form &#8211; hit execute, and it will go through all the steps necessary in Moodle and in Mahara to configure them to talk nicely to each other! &#8211; when it gets to the Mahara configuration, you will be asked to login to Mahara &#8211; make sure you login as an admin!<\/p>\n<p>the file is available <a title=\"mahoodle config script\" href=\"http:\/\/danmarsden.com\/files\/configmahoodle.php.zip\">here<\/a> (although I&#8217;ll put it in contrib and the <a title=\"Modules &amp; Plugins Db\" href=\"http:\/\/moodle.org\/mod\/data\/view.php?id=6009\">modules &amp; plugins db<\/a> at some point soon)<\/p>\n<p>keen to hear of any issues you experience or any ideas for improvment!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Moodle and Mahara complement each other quite well, and it&#8217;s been possible for a while to set up SSO between them. We do a lot of Moodle+Mahara with SSO for our clients &#8211; and most of these are hosted on the same web server, but following the instructions in the document I linked above can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,11],"tags":[14,3],"class_list":["post-96","post","type-post","status-publish","format-standard","hentry","category-mahara","category-moodle","tag-mahara","tag-moodle"],"_links":{"self":[{"href":"https:\/\/danmarsden.com\/blog\/wp-json\/wp\/v2\/posts\/96","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/danmarsden.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/danmarsden.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/danmarsden.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/danmarsden.com\/blog\/wp-json\/wp\/v2\/comments?post=96"}],"version-history":[{"count":5,"href":"https:\/\/danmarsden.com\/blog\/wp-json\/wp\/v2\/posts\/96\/revisions"}],"predecessor-version":[{"id":102,"href":"https:\/\/danmarsden.com\/blog\/wp-json\/wp\/v2\/posts\/96\/revisions\/102"}],"wp:attachment":[{"href":"https:\/\/danmarsden.com\/blog\/wp-json\/wp\/v2\/media?parent=96"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/danmarsden.com\/blog\/wp-json\/wp\/v2\/categories?post=96"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/danmarsden.com\/blog\/wp-json\/wp\/v2\/tags?post=96"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}