We are using a java dev to manage from in GDrive with Oauth2 method and we would like to switch to rclone.
With our Java Dev the token has no expiration so the upload could be done with the account credential in our domain and the quota is assigned to the user.
With rclone the expiration of the oauth2 token is set to 1 hour.
So we tried service account, but the problem is that the owner of the file copied is the service account.
We see 2 options :
When using autentication with client id the token is requested with no expiration
A command should be available to change the owner.
I configured it with “rclone config” yes, with interactive method (client_id & client_secret).
What is strange is that this morning (Japan time ), it works, the token has refresh without change the configuration. Let me do some more tests as i was tested it with the same account on 2 host i maybe did a mistake.