transloadit / uppy-server

[DEPRECATED] 'Uppy Server' was renamed to 'Companion' and lives inside the Uppy repo no
https://github.com/transloadit/uppy/tree/master/packages/%40uppy/companion
MIT License
114 stars 27 forks source link

Trouble with connecting to google drive #53

Closed dersar00 closed 6 years ago

dersar00 commented 6 years ago

Hello, i have some troubles with connect to google drive. I run standalone uppy server(localhost:3020) parallel to my rails app(localhost:5000), I registered in console.developers.google.com, create a new project. image The Client I paste to "UPPYSERVER_GOOGLE_KEY", Client secret I paste to "UPPYSERVER_GOOGLE_SECRET". Have I filled everything correctly? Have i filled correctly "Authorized JavaScript origins " field? When i try to to Connect to Google Drive I get this error: image What am I doing wrong?

ifedapoolarewaju commented 6 years ago

Hi @dersar00 you need to set this as your authorized redirect uri

http://localhost:3020/drive/callback

dersar00 commented 6 years ago

Thanks, @ifedapoolarewaju , but uri must look like this http://localhost:3020/connect/google/callback

ifedapoolarewaju commented 6 years ago

yes the url should be http://localhost:3020/connect/google/callback, excuse my mistake.