Hello everyone,
A few minutes ago, I tried to access a remote I haven't used for at least many months, and got an error:
2020/01/31 11:27:37 Failed to create file system for "REDACTED:": couldn't find root directory ID: Get https://www.googleapis.com/drive/v3/files/root?alt=json&fields=id&prettyPrint=false&supportsAllDrives=true: oauth2: cannot fetch token: 400 Bad Request
Response: {
"error": "invalid_grant",
"error_description": "Bad Request"
}
Other Google Drive remotes that I use more frequently aren't having any issues.
Figuring something had got "stale", I thought "What the heck, let's just configure a new remote from scratch", but when I tried to do that, when the time came to create the Client ID (following instructions here), when I reached the second part of step 4 (" It will prompt you to set the OAuth consent screen product name, if you haven’t set one already"), I was presented with a screen giving me two options:
Internal
Only available to users within your organization.
You will not need to submit your app for verification.
External
Available to any user with a Google account.
I tried selecting "Internal", but it's unselectable, and by hovering the mouse cursor over it I get the following message:
Because you are not a GSuite user, you can only make your app
available to external (general audience) users.
Hovering the mouse cursor over the (?) icon right besides "External", it shows:
In this mode, your app is available to any user with a Google account.
External apps that request sensitive or restricted user data must first
be verified by Google. This process which may take 4-6 weeks.
In addition, if you selected restricted scopes, you'll need to go through
an independent security review, which can cost USD $15k-$75k.
So, what does that mean? Isn't it possible anymore to use plain Google Drive (ie, no GSuite) with our own Client_ID, without going through this lenghty "app verification" thing, or the impossibly expensive "independent security review" in case rclone and/or the way I use it needs those "restricted scopes"?
PS#1: this is with the latest rclone stable release (1.50.2).
PS#2: configuring a new remote using rclone's internal key worked, but I would really really like to use my own Client ID as I've always done.
Thanks in advance,
-- Durval.