This tutorial will show you how to integrate Google Drive as External Storage on OwnCloud 8. Google Drive and OwnCloud is a perfect combination to provide you a better storage and interface to communicate between Google Drive and you or your user. I have running a droplet on my DigitalOcean.com account which have only 20 GB of capacity. By integrating Google Drive as external storage on OwnCloud which installed on the droplet, I can have additional 15 GB of space to store my files.
How to integrate Google Drive as External Storage on OwnCloud 8
A. Create a Project on Google Developer page
First we need to create a project. Log in to https://console.developers.google.com and create your new project.
Name the project
Enable Google Drive API
Now go to APIs & Auth and click Drive Api
Click Enable API
Once you enable the API, now go to Credentials under APIs & Auth
Click Create new Client ID to create a new client ID which will be used to access Google Drive from Owncloud
Select Web application and click Configure Consent screen button
Enter your email address and type the product name and then click save. Next we need to create a new client id
Select Web application and enter the Authorized Javascript origin and Authorized redirect URLs section
Now you should have detailed information about client ID.
B. Add external storage to Owncloud
After we created Google Drive client ID, we need to enable External Storage to Owncloud. Login to your owncloud admin page and go to external storage. Create a new external storage and select Google Drive from the list. Use the Client ID and secret we created on the previous steps.
When successful, you will be asked to give access to your google account as follow
Done. Now you have a Google Drive storage enabled on Owncloud
Thanks for this tutorial. What are the Authorized Javascript origin and Authorized redirect URLs?
Well done. Thanks.