Polytalents
Sign in
FREN

Connect Google Drive to ClOod

Create once, at Google, the client that lets your Odoo open your Drive, then paste it into ClOod.

version 0.1updated on 2026-11-16by SeedfridClOod

Google only lets a piece of software open a Drive if it knows it. You introduce your Odoo to Google once: you create at Google a client that says "this Odoo may ask for access to a Drive", you paste it into ClOod, then you authorise your account in two clicks, without any password.

Copy the redirect address from your own ClOod, with its copy button. Never copy it from an e-mail, a message or another page: this is the address where Google hands over access to your Drive.

To get there in ClOod: Explorer, Connect a cloud card, Connect my Google account button. The account form opens with these instructions, the address and the two fields to fill in.

Already connected Gmail (MailbOox)?

The client created for Gmail can serve Drive too: no need for a second one. In the Google Cloud console, on the same project:

  1. Open the Google Drive API page (or, from the three lines at the top left, APIs & Services → Library, then search for Google Drive API) and click Enable.
  2. Google Auth Platform → Clients: open the Gmail client and, under Authorized redirect URIs, click Add URI; paste the redirect address copied from ClOod. Keep the Gmail address: both stay side by side. Save.
  3. In ClOod, click Use the Gmail client, then Connect Google Account.

That's all. Google may take "5 minutes to a few hours" to apply the new address: if the authorisation fails right after, try again a little later.

Starting from scratch

Five steps, all in the Google Cloud console except the last.

The screenshots below were taken in a Google console set to French; the layout is the same in English.

1. Create a project at Google

  1. Open the Google Cloud console and sign in.
  2. At the top of the page, open the project list and choose New project.
  3. Give it a name you will recognise, for example "Odoo": it will serve your whole Odoo. Click Create.
  4. Check that this project is the one selected at the top of the page before going on.

The "New project" screen of the Google Cloud console

2. Enable the two APIs

The shortest way: open the Google Drive API page directly, check at the top of the page that your project is selected, then click Enable.

If you prefer the menus:

  1. Click the three horizontal lines at the very top left of the console (the "navigation menu"). In the panel that opens, choose APIs & Services, then Library. If you do not see this menu, type "API Library" in the search bar at the top of the page: it is the first result.
  2. In the library, search for Google Drive API, open it, click Enable.

The Google Drive API page and its Enable button

  1. Go back to the library, search for Cloud OAuth Service API and enable it the same way.

Do not skip the second one. Without it, the next step fails silently: you click Create, Google goes back to the previous page and still says "not configured yet".

3. Introduce your app

Menu APIs & Services → OAuth consent screen. You land in Google Auth Platform. Click Get started.

Google Auth Platform not configured yet: the Get started button

  1. App name: the one you will see when authorising, for example your company name. User support email: yours.

The "App information" step

  1. Audience: Internal if you have Google Workspace and only accounts of your organisation will be connected. External in every other case; with an @gmail.com account it is the only choice.

The Audience step: Internal or External

  1. Contact information: your address, then Next.
  2. Finish: tick "I agree to the Google API Services: User Data Policy", click Continue, then the blue Create button.

The Finish step: the policy box, Continue, then Create

Google confirms with "OAuth configuration created".

The confirmation "OAuth configuration created"

If you chose "External", the app starts in Testing mode. Open the Audience section and choose:

The Audience section in Testing mode: the list of test users

Left "in testing", the app loses access after seven days and ClOod loses your Drive. Publish it as soon as the trial is conclusive.

4. Create the client

  1. Clients section of Google Auth Platform, then Create client.
  2. Application type: Web application.

Create an OAuth client ID, Web application type

  1. Leave Authorized JavaScript origins empty. Under Authorized redirect URIs, further down, click Add URI and paste the redirect address copied from ClOod. It must match to the character, https:// included.

The two areas: JavaScript origins left empty, redirect URI filled in

  1. Create. An "OAuth client created" window shows the Client ID and the Client secret, each with its copy button.

Copy the client secret before closing this window: Google will not show it again. If it is lost, create a new one from the client's page.

5. Paste the client into ClOod

On ClOod's Google Drive account form, paste the Client ID and the Client Secret, save, then click Connect Google Account.

The Google Drive account form in ClOod, with the Connect Google Account button

What happens next

The warning "Google hasn't verified this app": click Continue

If something goes wrong

Google's "Access blocked" screen, error 403 access_denied

Google says Cause Fix
redirect_uri_mismatch The redirect address registered at Google is not exactly your ClOod's. Copy it again from the account form (copy button) into the Google client. An http:// address is refused: your Odoo must be served over https://.
redirect_uri_mismatch although the address is registered Google has not applied it yet: it takes "5 minutes to a few hours". Wait ten minutes and click Connect Google Account again. The "request details" of the error screen show the address received: compare it with the client's.
access_denied or "Access blocked" "External" app left in testing. Publish the app, or add the account to the test users (Audience section).
invalid_client Client ID or secret badly pasted. Paste them again in the form; if needed, create a new client secret at Google.
The form shows no Google account address The authorisation was not given all the way. Click Connect Google Account again.
Drive works, then stops after a week App left "in testing". Publish the app, then reconnect the account from its form.

Removing access

On the account form: Disconnect Google Account. ClOod revokes the access at Google and removes the token from sOocret. You can also cut it from your Google account: Security → Your connections to third-party apps & services.

See also