# ddurdle's XBMC / KODI Cloud Service Plugins

OAUTH setup for Google Drive:
There are three options to setting up your Google Drive account on the XBMC / KODI GDrive plugin.

Google OAUTH2 requires a registered API account. The account is identified by a Client ID and Client Secret. It is against the Terms of Service to release the client secret to the public. I provide 3 options below.

Authorization access: Use the appropriate linke below. You only have to authorize once, using only a single method below:

- GOOGLE APPS OAUTH2 - READ-only (DEFAULT)
  https://accounts.google.com/o/oauth2/auth?approval_prompt=force&scope=https://www.googleapis.com/auth/drive.readonly+https://spreadsheets.google.com/feeds&access_type=offline&redirect_uri=https://script.google.com/macros/s/AKfycbzufq8WB4As_ksn28mFbfbX-WX5M75-JjB_AR_fejqXV49-TUvj/exec&response_type=code&client_id=772521706521-f97kus79uouccm1o60g7i08v02kqa584.apps.googleusercontent.com
- GOOGLE APPS OAUTH2 - READ/WRITE (for saving resume points)
  https://accounts.google.com/o/oauth2/auth?approval_prompt=force&scope=https://www.googleapis.com/auth/drive+https://spreadsheets.google.com/feeds&access_type=offline&redirect_uri=https://script.google.com/macros/s/AKfycbzufq8WB4As_ksn28mFbfbX-WX5M75-JjB_AR_fejqXV49-TUvj/exec&response_type=code&client_id=772521706521-f97kus79uouccm1o60g7i08v02kqa584.apps.googleusercontent.com
- dmdsoftware.net OAUTH2 - READ-only (DEFAULT)
  https://accounts.google.com/o/oauth2/auth?approval_prompt=force&scope=https://www.googleapis.com/auth/drive.readonly+https://spreadsheets.google.com/feeds&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&client_id=772521706521-bi11ru1d9h40h1lipvbmp3oddtcgro14.apps.googleusercontent.com
- dmdsoftware.net OAUTH2 - READ/WRITE (for saving resume points) https://accounts.google.com/o/oauth2/auth?approval_prompt=force&scope=https://www.googleapis.com/auth/drive+https://spreadsheets.google.com/feeds&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&client_id=772521706521-bi11ru1d9h40h1lipvbmp3oddtcgro14.apps.googleusercontent.com

1. Google Apps OAUTH2 -- use this link: https://accounts.google.com/o/oauth2/auth?approval_prompt=force&scope=https://www.googleapis.com/auth/drive+https://spreadsheets.google.com/feeds&access_type=offline&redirect_uri=https://script.google.com/macros/s/AKfycbzufq8WB4As_ksn28mFbfbX-WX5M75-JjB_AR_fejqXV49-TUvj/exec&response_type=code&client_id=772521706521-f97kus79uouccm1o60g7i08v02kqa584.apps.googleusercontent.com
2. Using dmdsoftware.net as pass-through relay with a client ID / client secret that I have registered with Google.
3. Setup your own OAUTH2 pass-through relay with your own client ID / client secret that you have registered with Google.
4. Provide your own client ID / client secret that you have registered with Google. Instructions how to do this here - http://dmdsoftware.net/GoogleSetupOAUTH2/SetupOAUTH2.html

### To support the continued development of this any ddurdle's other XBMC / KODI plugins, please considering donating using Paypal at the following URL http://goo.gl/j7v7SD