obsidian
(obsidian)
June 30, 2019, 7:48am
1
Hi,
Currently using rclone + rclone browser on an encrypted volume and all works fine using the regular rclone.config:
[gdrive]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
But if I try and auth using the Service Account .json instead of the client_id/client_secret, it never works .... no idea if it's due to an error in the path I'm using to the .json in the rclone config.
This is what I have tried:
[gdrive]
type = drive
scope = drive
token = XXX
service_account_file = "C:/Users/PC/.config/rclone/rclone.json"
What am I doing wrong?
Did you run through the service account steps here?
https://rclone.org/drive/#service-account-support
ncw
(Nick Craig-Wood)
June 30, 2019, 7:06pm
3
You might find it easier to stuff the credentials in the config file with drive_service_account_credentials
if you are concerned about the path.
Can you do a run with -vv
and paste the results of it failing?
obsidian
(obsidian)
July 1, 2019, 1:51pm
4
drive_service_account_credentials works perfectly!
Thank you
1 Like
system
(system)
Closed
September 29, 2019, 1:51pm
5
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.