Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
2 contributors

Users who have contributed to this file

@rakyll @submitteddenied
24 lines (16 sloc) 770 Bytes

GoogleDrive Dillinger Plugin

  1. Create a project on Cloud Console and activate Google Drive API: https://code.google.com/apis/console

  2. Create your googledrive-config.json. It needs to contain:

    { "client_id": "YOUR_ID", "client_secret": "YOUR_SECRET", "redirect_uri": "YOUR_REDIRECT_URI" // eg, http://dillinger.io/oauth/googledrive }

  3. You also must add your redirect uri to your app's settings in the Google Cloud Console

Optional configuration via environment

Set the following environment variables if adding googledrive-config.json may present a challenge (when deploying on Heroku for example)

googledrive_client_id=YOUR_KEY
googledrive_client_secret=YOUR_SECRET
googledrive_redirect_uri=YOUR_REDIRECT_URI
You can’t perform that action at this time.