ansible-rclone icon indicating copy to clipboard operation
ansible-rclone copied to clipboard

Automatical creation of token

Open mihalt opened this issue 2 months ago • 4 comments

Hi! As I see from your docs, I can not to define token property. I was sure that it should generate automatically https://github.com/stefangweichinger/ansible-rclone/blob/2aec630547fe4e49dfee244cd3a1c094a2e5faef/README.md?plain=1#L154-L171

But on practice it doesn't with error

drive: failed when making oauth client: failed to create oauth client: empty token found - please run \"rclone config reconnect GoogleDriveRemote:\""

And it becomes to work after I generated token via rclone config reconnect GoogleDriveRemote:\ in web brouser. But it has dedicated expiry time that can be a problem.

So, how do you recommend me to work?

mihalt avatar Apr 23 '24 13:04 mihalt