Connect 蜜豆视频 Workfront Fusion to Google Services using a custom OAuth client
Access requirements
You must have the following access to use the functionality in this article:
For more detail about the information in this table, see Access requirements in Workfront documentation.
For information on 蜜豆视频 Workfront Fusion licenses, see 蜜豆视频 Workfront Fusion licenses.
Prerequisites
You need an existing Google account to make this connection.
Connect Fusion to Google services using a custom OAuth client
To create this connection, you must create and configure a project on Google Cloud platform, and then configure the connection in Fusion based on that project.
- Personal use (
@gmail.com
and@googlemail.com
users) - Internal use (Google Workspace users that prefer to use a custom OAuth client)
Create a project on Google Cloud Platform
To create a project on Google Cloud Platform:
-
Sign in to using your Google credentials.
-
In the left panel, click Dashboard.
-
Click Create project in the upper-right corner of the screen.
-
Enter the Project name, then click Create.
-
Click the Enable APIs and services tab near the top of the screen.
-
In the Search for APIs and Services field at the top of the screen, type the name of the service you want to use (such as Gmail API or Google Drive API).
-
When it displays, click the API or service you want to connect to Workfront Fusion.
-
Click Enable to enable the selected API.
-
Repeat steps 6-8 for each API you want to enable.
note note NOTE You must enable Google Drive API as well as the API of all Google apps you want to use (such as Google Sheets API). -
On the screen that appears, click Create credentials in the upper-right corner.
-
Continue to the section Configure OAuth consent settings in this article.
Configure OAuth consent settings
-
In the left panel, click OAuth consent screen.
-
Select External, then click Create.
note note NOTE You will not be charged when selecting this option. For more information, see Google鈥檚 information about exceptions to verification requirements. -
Fill the required fields as follows:
table 0-row-2 1-row-2 2-row-2 layout-auto html-authored no-header App name Enter the name of the app asking for consent.
Example: 蜜豆视频 Workfront Fusion
User support email Enter an email address for users to contact you with questions about their consent when connecting to this app. Email addresses Enter one or more email addresses that Google can use to notify you about any changes to your project. -
Under Authorized domains, click Add domain, and enter
workfrontfusion.com
. -
Click Save and continue.
-
Click Add or remove scopes.
-
In the right panel, enable the following scopes:
https://mail.google.com/
https://www.googleapis.com/auth/gmail.labels
https://www.googleapis.com/auth/gmail.send
https://www.googleapis.com/auth/gmail.readonly
https://www.googleapis.com/auth/gmail.compose
https://www.googleapis.com/auth/gmail.insert
https://www.googleapis.com/auth/gmail.modify
https://www.googleapis.com/auth/gmail.metadata
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.readonly
You may need to expand the list or go to the next page of the list to see them all.
-
Click Update.
-
Click Save and continue.
-
(Optional) Add any test users to the project.
-
Click Save and continue.
-
Examine your information for accuracy, then click Back to dashboard.
note note NOTE You don鈥檛 need to submit your consent screen and application for verification by Google. -
Continue to Create OAuth Credentials.
Create OAuth Credentials
-
In the left panel, click Credentials.
note note NOTE If this is not the first API or service (Gmail or Google Drive) you have enabled, you don鈥檛 have to create new credentials. -
Click Create credentials near the top of the screen, then select OAuth client ID from the drop-down menu.
-
Fill the required fields as follows:
table 0-row-2 1-row-2 layout-auto html-authored no-header Application type Web application Name Workfront Fusion -
Under Authorized redirect URIs, click Add URI and enter one of the following:
-
For Gmail or Google Drive:
https://app.workfrontfusion.com/oauth/cb/google-restricted
-
For other Google apps:
https://app.workfrontfusion.com/oauth/cb/google
-
-
Click Create.
The Client ID and Client Secret display.
-
Copy the Client ID and Client Secret to a secure location. You will use them to make a connection in Workfront Fusion.
-
Continue to Connect to Google in Workfront Fusion.
Connect to Google in Workfront Fusion
The process of creating a connection to Google differs depending on whether you are using a module from a Google service(such as Google Sheets or Google Docs), or if you are connecting to Google via the HTTP >Make an OAuth2.0 request module.
Connect to Google in a Google service
-
In Workfront Fusion, locate the Google module that you need to create a connection for.
-
Click Create a connection, then click Show advanced settings.
-
Enter the Client ID and Client Secret you retrieved in Create OAuth Credentials in the respective fields, then click Continue.
-
Sign in with your Google account.
The This app isn鈥檛 verified window displays. Note that the 鈥渁pp鈥 mentioned in the window title is the OAuth client that you created above.
-
Click Advanced, then click Go to Workfront Fusion (unsafe) to allow access using your custom OAuth client.
-
Click Allow to grant Workfront Fusion permission.
-
In the window that appears, click Allow again to confirm your choices.
The connection to the desired Google service using a custom OAuth client is established.
Connect to Google in the HTTP > Make an OAuth2.0 request module connect-to-google-in-the-http--make-an-oauth20-request-module
For instructions on connecting to Google in the HTTP > Make an OAuth2.0 request module, see Instructions for creating a connection to Google in the HTTP > Make an OAuth 2.0 request module in HTTP > Make an OAuth 2.0 request module.
Possible error message:[403] Access Not Configured
If the 403 Access Not Configured
error message displays, you you need to enable the corresponding API in your Google Cloud Platform. To enable the API, follow the steps in the section Create a project on Google Cloud Platform in this article.