Hi all,
I brought up Rclone successfully to use it on a headless server and set up a Google API OAuth 2.0-Client-ID.
'rclone lsd :' works very well and next step would be to fill in the Oauth consent screen since the received client-ID kicks the bucket after a very short test period. But I hit a snag trying to fill in this Oauth consent:
The screen asks for an 'App Domain' (application homepage, application privacy policy link and application terms of service link) as well as an 'Authorized Domain'.
I don't run any webserver and got no clue what to enter here...
Happy for any hint - Cheers
OK, wait! I became enlighted! When picking Gdrive into my newly created Project, I loaded rights for 'sensitive data' onto the Oauth! This caused all this trouble. Removed this rights and my client-id and secret remains 'production' instead of expiring. Works fine now!
Aw, crap! The token expired again! What I did: gathered a token without my client-id and client-secret in the rclone.conf (using rclone's client-id) and after receiving a token, I inserted my client-id and client-secret into rclone.conf. Works for an hour or so...
Now I'm tired of hacking the access to my Google drive or renewing tokens all the time! Will move all my data to Mega Store and say goodby to Google Drive. After decades of use!
@albgen: I agree. These instructions are obsolete, specifically @balazer's contribution. One can setup a client-id and the secret (without scoping sensitive data to the newly registered app), but it expires after an hour. So, the next step would be to load some scope of sensitive data onto the registered app to go thru the 'domain verification' process where you have to give 'App domains' and 'Authorised domain' -which I will try next (Thanks Nick!). One more thing: I'm afraid, this verification process is not for free, costs you something around $70. Correct me, if I'm wrong.