Use Your Own Google Drive Client ID
When a Google Drive remote has no client_id, rclone signs in with rclone's shared client ID. Many rclone users share that client ID's request limit, so a remote that uses it can be slow or fail with 403 errors. rclone's documentation also says the shared client ID is being retired and will stop working during 2026.
RcloneView shows this notice in the Add Google Drive and Edit Remote dialogs when client_id is empty:
This guide shows how to create your own client ID and client secret in the Google Cloud console, enter them in RcloneView, and sign in again. Steps 1 to 5 take place in the Google Cloud console; Steps 6 and 7 take place in RcloneView.
These steps follow rclone's guide, Making your own client_id (the page that the How to create your own client ID link opens), and match the Google Cloud console as of December 2026. Google changes its console from time to time; if a label below doesn't match what you see, check rclone's guide.
Step 1: Create a project and enable the Google Drive API
-
Sign in to the Google Cloud console. Any Google account works; it does not need to be the account that owns the Google Drive you want to connect.
-
Open the project picker at the top of the page and create a new project (or select an existing one). Enter a Project name (for example,
rcloneview-client-id) and click Create. If you sign in with a Google Workspace account, an Organization field is also shown with your organization's domain (the screenshot below was taken with a Workspace account); leave it as it is. With a personal Google account (Gmail), there is no Organization field; Location shows No organization, and you can leave that as it is too.
-
Make sure the new project is selected at the top of the page. Search for Google Drive API in the search bar, open it, and click Enable.
Step 2: Configure the OAuth consent screen
-
Go to APIs & Services › Credentials (click Credentials in the left panel, not Create credentials, which opens a wizard). A banner says "Remember to configure the OAuth consent screen". Click Configure consent screen, then click Get started.
-
The Project configuration wizard opens. Under 1 App Information, enter an App name (for example,
rclone) and choose a User support email (your own email is fine). Click Next.
-
Under 2 Audience, select External and click Next. If you use a Google Workspace account and only people in your organization will use this client ID, you can select Internal instead; you then don't need test users or publishing (Step 4).
-
Under 3 Contact Information, enter an email address where Google can notify you about the project, and click Next.
-
Under 4 Finish, check I agree to the Google API Services User Data Policy, click Continue, and then click Create.
Step 3: Add the Google Drive scopes
-
Click Data Access in the left panel, then click Add or remove scopes. The Update selected scopes panel opens.
-
Scroll down to Manually add scopes and paste these three scopes (one per line, or separated by commas), then click Add to table:
https://www.googleapis.com/auth/docshttps://www.googleapis.com/auth/drivehttps://www.googleapis.com/auth/drive.metadata.readonly
-
The three scopes appear at the top of the table, already checked. Click Update at the bottom of the panel.
-
Back on the Data Access page, the scopes are listed under Your sensitive scopes and Your restricted scopes. Click Save at the bottom of the page. The scopes are not stored until you click Save.
Step 4: Add yourself as a test user
Skip this step if you selected Internal in Step 2.
-
Click Audience in the left panel. Under Test users, click + Add users.
-
Enter the email address of the Google account that owns the Google Drive you want to connect, and click Save.
The Publishing status is now Testing. The Publish app button stays greyed out ("To publish your app, you must complete your configuration on the Branding page") until you complete the Branding page: an application home page, a privacy policy link, and an authorized domain. See rclone's guide for details. You can use the client ID in Testing without publishing.
You can leave the app in Testing, but then Google's sign-in grant expires after about a week and you have to sign in again. Publishing the app avoids this. For personal use (under 100 users), Google app verification is usually not required; you only see an "unverified app" warning when you sign in, which you can accept.
Step 5: Create the OAuth client ID
-
Click Clients in the left panel and create a new client. On the Create OAuth client ID page, choose the Application type Desktop app. The default Name (for example,
Desktop client 1) is fine. Click Create.
-
The OAuth client created dialog shows your Client ID and Client secret. Copy both with the copy buttons and keep them somewhere safe, or click Download JSON. Then click OK.
After you close the OAuth client created dialog, you can no longer view or download the client secret. You can always find the client ID again under Clients, but if you lose the secret, you have to create a new client. Copy the client secret or click Download JSON before you click OK, and keep it private.
Step 6: Enter the client ID in RcloneView
For an existing Google Drive remote
-
Open the Edit Remote dialog for the remote: on the Remote tab, click Remote Manager, then click Edit on the Google Drive remote's card. You can also click the gear icon in the upper-right corner of the Explorer pane that shows the remote. See Edit Remote Settings. The dialog shows the shared client ID notice.
-
Click
Show advanced options. Theclient_idandclient_secretfields appear.
-
Paste your client ID into
client_idand your client secret intoclient_secret. As soon asclient_idhas a value, the shared client ID notice disappears.
-
Click
Save, and continue with Step 7.
For a new Google Drive remote
-
Click
+ New Remoteunder the Remote menu and select Google Drive.
-
Enter a Remote name.
-
Click
Show advanced options. Theclient_idandclient_secretfields are in the advanced options. -
Paste your client ID into
client_idand your client secret intoclient_secret. -
Click
Add Remote, and continue with Step 7.
Step 7: Sign in to Google
A Google sign-in that was made with the shared client ID does not carry over to your own client ID, so the remote has to sign in again with the new one.
- When you click
Save(orAdd Remote), your browser opens Google's sign-in page, as it did when you first added the remote. - Sign in with the account that owns the Google Drive (if you selected External, it must be a test user you added in Step 4) and allow access.
- While the app is in Testing, Google may show an "unverified app" warning. It refers to the app you created in Step 2. Click Advanced, then click Go to rclone (unsafe) (Google shows the app name you entered in Step 2).
- The browser shows rclone's success page. You can close the browser tab and return to RcloneView.
If the remote still fails after saving, add a new Google Drive remote with the same client ID and client secret (see "For a new Google Drive remote" in Step 6), then delete the old remote in Remote Manager.
Check the result
Open the Edit Remote dialog again. Because client_id now has a value, the shared client ID notice no longer appears.
Your remote now uses its own request limit instead of the limit shared by many rclone users, so browsing folders is typically faster and less likely to fail with 403 errors.
Google Photos remotes need their own client ID too, with a different procedure (the Photos Library API and its scopes). See rclone's guide: Google Photos: Making your own client_id.
This guide assumes RcloneView's built-in rclone, which can open a browser on your computer for the sign-in. For an rclone running on a server without a browser, see Add Google Drive to External Rclone on AWS EC2.