Save Files from URL to Google Drive
- Open Google Dev Credentials Site.
- Create a Project, name as you like.
- Enable Drive API
- In Credentials Page Click Create Credentialsand then ClickOAuth Client ID.
- Select Web Application.
- In Authorized JavaScript originsenter your domain name or IP whichever you are using for this app.
- In Authorized redirect URIsenter your domain name or IP with/api/oauth/google/callbackat last.
- eg. for https://bhadooclouduploader.herokuapp.comit'shttps://bhadooclouduploader.herokuapp.com/api/oauth/google/callback
- Copy your details.
- You'll need these 3 when deploying to Heroku using below button.
Before you deploy follow the above steps or it won't work.