Skip to main content
Skip table of contents

Step 4 - Creating a Client ID

Steps 4.1 - Defining the OAuth consent screen 

  1. Go to APIs & Services > OAuth consent screen on the sidebar of the Dashboard page.

  2. Choose External > click Create under User Type. Our connector works with both options. For more information regarding these options, you may refer to this page. For the purposes of this guide, we'll only be covering the External user type flow. 

  3. Enter the required fields App name, User support email, and Developer contact information. Then, click Save and continue. The other fields are optional to fill.

    Google restricts certain words from being used as a product name, e.g. "Google".

Steps 4.2 - Updating Scopes

  1. Click Add or Remove Scopes.

  2. This step varies depending on which version of Google Drive & Confluence you are using:
    1. For version 2.0.0 and above, search and select Google Drive API. Then, choose ".../auth/drive" in the Scope column, and click Update.

    2. For version 3.0.0 and above, search and select Google Drive API. Then, choose ".../auth/drive.readonly" in the Scope column, and click Update.

  3. Verify that the selected scope was added, then click Save and continue

Steps 4.3 - Setting test users

  1. This step is optional, you can provide test users who will be able to authenticate via this app.
  2. Click Add Users > Enter the test user's email address > Click Add

  3. Verify the test user added, then click Save and continue.

Steps 4.4 - Confirming app registration details

  1. Scroll through the app registration summary page, verify your choices and click Back to Dashboard at the end of the page. 

Steps 4.5 - Creating OAuth client ID

  1. Click Credentials in the sidebar > Click Create Credentials > Choose OAuth client ID

  2. Choose Web application under Application Type. Next, provide a name for the OAuth Client ID.

  3. Under Authorized JavaScript Origins, set your Confluence URL.

  4. A window will pop up with your Client ID and Client Secret. Copy these down.

    Take note of whether your Confluence URL starts with http or https. It must be configured accordingly in the Google API settings.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.