What API scopes to use for Google Drive authentication

What is the problem you are having with rclone?

I'm creating an OAuth application for Google Drive (which also needs verification so it can be used by others), but I don't know what scopes to use. I was wondering if I could know which ones rclone itself uses so I could just use those for my application.

Run the command 'rclone version' and share the full output of the command.


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

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)


The rclone config contents with secrets removed.


A log from the command with the -vv flag


Check out:

I looked at that originally, but it didn't talk anything about the scopes needed. Google send back an email saying to make sure I don't use any scopes I don't need, and I just wanted to make sure I got them right.

The only thing it uses is the Drive API which is all listed here:

What specifically are you filling out? Can you share a screenshot or more details?

Yeah, I was wondering what scopes specifically in that section rclone uses. I just wanted to mirror what was being done in rclone itself since my application will still be using rclone under the hood.

Noted a bit higher in the docs under the service account section.


1 Like

Sorry for the delay, that's exactly what I needed though. Thanks a ton! :slight_smile:

1 Like

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