Wednesday, May 25, 2016

Integrating goodle drive with moodle

Its all a little puzzling really.  Not all of it, like configuring the moodle, was not too difficult.

 I registered the moodle site with Google, got a product Id and a secret key and added them to the moodle.  This way, moodle knows about the Google Drive cloud in the sky.  So teachers, students, whoever has a google drive space set up can now access it from within moodle.  When they browse to find a file......Google Drive is now and option.

Activate the GD repository in the moodle.  

Admin|Plugins|Repository|Google Drive





Now you have a new place to browse when you want to get a file...



After logging into a google account, you have access to your GC space







If you activate the Google Drive plugin repository in moodle, whenever someone attempts to access it, they will need to log into their google account.  The moodle authentication has nothing to do with what shows up in the GD space.  If there is already a google account active on the computer - it will use it, even if its not you.  Who you are in moodle does not correlate to the GD space.  If I access the GD from moodle when there is no google account logged in....you are presented with a login option, from Google.




If you activate Google Drive plugin in moodle and then access it, the plugin requires you to login.  When you login, google looks for active accounts on the system, if it cannot find one, it prompts you with a google login screen.

If you are confused, like I was, with what you are seeing when you browse the GD space, logout of the moodle, close your browser, make sure there is no active login in a google account and then try it again.  This way, when you access the GD in moodle, you will have to authenticate using a google account.

One more point.  When I was registering the moodle with Google, Google required me to specify the callback file in the integrating system.  I missed this the first time attempting to set up the integration.  Makes sense - Google is saying "Whoever is calling me, they need to tell me how to answer back....".

This is the text on the integration form in moodle, notice the line "

"As part of the registration process, you will need to enter the following URL as 'Authorized Redirect URIs':
http://cal-mum.moodle.edutech.org/admin/oauth2callback.php"





No comments:

Post a Comment