Hi, I was hoping you guys could help me out.
I recently built a Moodle 2.5 site but I can't get our Google Drive repository working.
I have followed the instructions from this page - http://docs.moodle.org/25/en/Google_OAuth_2.0_setup - to the letter (including enabling the Drive API). I have also copied the client ID and secret into the moodle settings for google drive.
When I click on "Login" I'm asked for access to my Google drive account (and can see the site branding I set up on google api console), which I allow. It then redirects me back to our moodle site with the error:
Exception - Could not json decode the token
I have attached a screenshot below.
This is hosted on a Windows 2008R2 server on IIS7.5
I have two moodle sites on this server and they are both doing the same thing.
Any help would be hugely appreciated as we migrating our file store to google drive and really need to be able to access it from moodle.