Open sharonkatz510 opened 2 years ago
Just ran into this as well after finally figuring out how to setup the client json. The above is just code to advise users that it's being shutdown. It appears the actual solution that has to be implemented is here: https://developers.google.com/identity/protocols/oauth2/native-app#redirect-uri_loopback but I don't think it's very straightforward.
Actually found a hacky solution. In transfer.py, change
flow.redirect_uri = oauth2client.client.OOB_CALLBACK_URN
to
flow.redirect_uri = "https://localhost"
In your browser when you paste the link provided when you run transfer.py, it will now allow you to login and authorize Recurse, but then give an error. But in the URL there will be a code= and that's the code needed! Not sure how long this will work but at least for now it does!
I got it to work with a change to the flow, but will only work on non-headless systems (you need a web browser on the same machine) https://github.com/wildintellect/google-drive-recursive-ownership/tree/fix/oob
Hey, first off thanks alot for your effort. When I try to run the terminal command it gives me a link for authorization. However when I press the link I get the following error message from google:
Google's suggested solution seems simple:
however I'm not sure how it can be implemnted into your code.
Would really appreciate your help on this. Thanks.