Auto refresh token gdrive

What is the problem you are having with rclone?

My gdrive token expired. I used rclone on my server every day for uploading there files from my application. Token doesn't refresh expire time. I thought that expiration time will be longer when I use API.
Is it possible auto refresh token and change date of expiration automatically?

What is your rclone version (output from rclone version)

1.54

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Linux

Which cloud storage system are you using? (eg Google Drive)

Google Drive

Config

[test]
type = drive
client_id = XXXX.apps.googleusercontent.com
client_secret = XXXXX
scope = drive
token = {"access_token":"XXXXXXXXXXXXXXX","expiry":"2021-03-06T13:40:33.527784919+01:00"}
team_drive = XXXXXX

It does automatically refresh

I can guess the reason is because your project is internal as that would be shown in the debug log that you did not provide :slight_smile:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.