You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create new /usr/bin/xdg-open file, and make sure to mark it executable. Contents:
#!/bin/sh
echo $1 1>&2
exit 0
(Not sure if exit 0 is required, I guess not. Just make sure not to echo anything to STDOUT, that apparently makes google-drive-ocamlfuse think that something failed and exit instead of polling for access grant.)
Run google-drive-ocamlfuse, which should print the URL and you can use your favourite web access method to go to that URL and grant access, then follow the usual docs. Don't forget to put the original xdg-open script back in place.
There is a painless way to authenticate in headless mode:
https://developers.google.com/accounts/docs/OAuth2ForDevices
The text was updated successfully, but these errors were encountered: