Google Drive Integration

Google Drive Integration

by Brian Ball -
Number of replies: 2

Hi everyone,

I have found posts relating to this issue, but they're pretty old and not helpful, so I'll be rehashing an issue here.

Moodle 3.11

We have not been able to use the drag and drop feature, and now we can't use the file picker. Nothing in the environment has changed recently. Perhaps something expired? Or perhaps Google is doing something more now? OAuth2 settings have not been changed. We have been successfully using the Google login feature on the front page as our only method of login. To my understanding, if OAuth was misconfigured, this would not work. 

Also, the email given in the pop-up is no longer correct, but I cannot seem to find where in Moodle this is set. Does anyone know where it lives so I can change it?


Average of ratings: -
In reply to Brian Ball

Ri: Google Drive Integration

by Sergio Rabellino -
Picture of Particularly helpful Moodlers Picture of Plugin developers
AFAIK, google drive does not permit to access the files from "unknown" applications (e.g. not developed and assured by G). This was a change in the recent past and - for example - also the IOS apps that I was using do not access those files anymore. This is not related to the oauth API, so that part does not change (by now...).
Average of ratings: Useful (1)
In reply to Brian Ball

Re: Google Drive Integration

by Ken Task -
Picture of Particularly helpful Moodlers

You recently migrated to the 3.11 ... yes?

In the setup of GD, did you reset everything to new site?

In scopes, do you have the url to Google Drive?

https://docs.moodle.org/311/en/Google_Drive_repository#Enabling_the_Google_Drive_repository

If you obtain a 'This app isn't verified' message, you will need to complete a OAuth Developer Verification Form. The list of scopes that Moodle requires are: openid profile email https://www.googleapis.com/auth/drive.

https://support.google.com/code/contact/oauth_app_verification

'SoS', Ken