Complete
Details
Details
Assignee
Lola Yang
Lola YangReporter
Nick Sivo
Nick SivoImpact
Low
Components
Fix versions
Affects versions
Priority
More fields
More fields
Katalon Platform
Katalon Platform
Created June 8, 2020 at 10:29 PM
Updated July 1, 2022 at 4:52 PM
Resolved June 10, 2020 at 10:35 PM
rclone supports supplying the OAuth client id and secret to use when syncing with Google Drive and OneDrive. FreeNAS does not expose these options in the Cloud Credential UI.
I whitelist OAuth applications in G Suite and prefer to use my own and strictly limit their access and scope. I don't want to use the one provided by FreeNAS. There are also rate limit implications. I provided my own scope restricted token in the field available, but FreeNAS is unable to refresh it when needed since it uses the incorrect OAuth client credentials to do so.
Please expose (advanced?) options to configure these as I can directly in rclone.
In the meantime, I've edited google_drive.py and onedrive.py to use my credentials as the defaults, and plan to investigate if it's possible to set them via the API.
It appears that the behavior I desire was previously supported (see #NAS-101139) but was removed for some reason. See also #NAS-105591