Thursday 14 February 2013

Mahara and Moodle Integration (Mahoodle)



Greetings,


Here, we will be merging Mahara and Moodle ==> Mahoodle.
I will do this step by step to make it easier so that anyone can understand and he/she doesn't need to be technical person. So let's proceed with our integration

  • Open your favourite browser (mine is Opera) and browse 
  • http://localhost/mahara

  • Once the site is up and running please do click on Administration

  •  Now, within Configure Site, you can see Networking, do click Networking

  • Here, you can see WWW root, the Public Key, SHA1 Fingerprint, MD5 Fingerprint, Public key expires, Enable networking, Auto-register all hosts and Delete this key
  • Now, we just need to enable networking to yes from the drop down menu and the save changes.

  • Now, lets shift to Moodle and do the similar something.
  • Browse http://localhost/moodle

  • This is a bit different that mahara therefore, 
  • First, let's open up Site Administration ==> Advance Features
  • By default networking is turned off, so let's enable to yes and save changes.

  •  Since we enable or turned on the networking, we should be able to see Networking in Site Administrator.

  •  Now, let's go back to Mahara ==> Admin Home ==> Manage institution ==> Institution
  •  Click on Add Institution, fill in the form and when you see Authentication Plugin select XML-RPC

  • Authority Name: Mahoodle XMLRPC
  • WWW root : http://localhost/moodle
  • Site Name: Whatever you like
  • Allow ==> Update user info on login
  • Allow ==> We auto-create users 
  • Allow ==> We import content
  • You can have a look at the image above and set it accordingly and once your done then click on submit.
  • NOTE:- From Authentication plugin Add Internal only if you want users to login directly to Mahara without being redirect via Moodle. If you add both Internal and XMLRPC then user will be able to login directly and redirect both.
  • Now, again lets go back to moodle
  • Site Administrator ==> Networking ==> Manage Peers
  • In Hostname add Mahara's WWW root and in Application Type add Mahara

  •  Once you add host, moodle will fetch the public enctyption key rom the mahara server and display it.

  •  Now you can save the page and once again you will get the same page but with few other tabs. Once you get other tab click on Services to setup SSO with mahara.

  •  Here, lets just focus at SSO (Identity Provider) and SSO (Service Provider).
  • Check on SSO (Identity Provider) ==> "Publish"
  • Check on SSO (Service Provider) ==> "Subscribe"
  • then save changes

  •  Here, we need to enable Moodle Network Authentication (MNet authentication)
  • Click on Site Administration ==> Plugin ==> Authentication ==> Manage Authentication
  • Enable MNet authentication
  •  Now, lets click on Site Administrator ==> Users ==> Permission ==> Define Role

  • Click edit on Authenticated User and allow Roam to a remote application via MNet.
  • Now that we have finished giving mahara users permission, we can setup a a link to bring them to the site.
  • Go back to main page of moodle, on Setting ==> Turn Editing On
  • Now at the bottom you can see Add a Block, from the drop down menu select Network Server and now you should be able to see Mahara

  •  Finally, lets add few users, if already created just log out from both mahara and moodle. If you haven't yet created users then go to Site Administrator ==> User ==> Account ==> Add a new user
  • Now, login as a different user in moodle

  • Now you can see that I have logged in as different user and you can see Network Server (Mahara) as well.
  • Lets create mahara to initiate SSO

  • Now, you can see that the same user who was logged in Moodle is logged in Mahara as well

1 comment:

  1. Lots of steps but it worked like a charm. My thanks to you for documenting how to create Mahoodle.

    ReplyDelete