Step 4 - Creating a Client ID
Steps 4.1 - Defining the OAuth consent screenÂ
Go to APIs & Services > OAuth consent screen on the sidebar of the Dashboard page.
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.Â
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.
Steps 4.2 - Updating Scopes
Click Add or Remove Scopes.
This step varies depending on which version of Google Drive & Confluence you are using:
For version 2.0.0 and above, search and select Google Drive API. Then, choose ".../auth/drive" in the Scope column, and click Update.
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.
Verify that the selected scope was added, then click Save and continue.Â
Steps 4.3 - Setting test users
This step is optional, you can provide test users who will be able to authenticate via this app.
Click Add Users > Enter the test user's email address > Click Add.Â
Verify the test user added, then click Save and continue.
Steps 4.4 - Confirming app registration details
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
Click Credentials in the sidebar > Click Create Credentials > Choose OAuth client ID
Choose Web application under Application Type. Next, provide a name for the OAuth Client ID.
Under Authorized JavaScript Origins, set your Confluence URL.
A window will pop up with your Client ID and Client Secret. Copy these down.