Open mich-j opened 1 year ago
Yes, I am also having same issue.
Same, it does not seem to be a particular case, as @mich-j said it seems like the method is deprectated and he posted the links with the info from Google.
Any updates? Is there another method?
FWIW I was able to get this to work by editing drive_manager.rb and changing this line:
OOB_URI = 'urn:ietf:wg:oauth:2.0:oob'
to this:
OOB_URI = 'http://localhost'
Then you can run the process for the first time (I am using a derived docker image, so my commands I think are not actually relevant to this particular package) it will generate a google link with a redirect_uri of localhost. So you open that, auth it, it will redirect to localhost (which I assume is nothing, so your browser should just stop there) and then you can copy out the code
param from the URL and paste it in to complete the auth process.
Hello,
authorization URL printed in the terminal leads to an error 400: invalid request, which is shown by a Google OAuth login site:
As far as I can read here and here, authentication method used by
drivesync
is deprecated now.