Adobe Workfront Fusion requires an Adobe Workfront Fusion license in addition to an Adobe Workfront license.
In order to make an Adobe Workfront Fusion HTTP(S) request to servers that require an OAuth 2.0 authorization, you first need to create an OAuth connection. Adobe Workfront Fusion ensures that all calls made with this connection have the appropriate authorization headers and automatically refresh associated tokens when required.
Workfront Fusion supports the following OAuth 2.0 authentication flows:
Other flows, such as Resource Owner Password Credentials Flow and Client Credentials Flow, are not automatically supported through this module.
For more information on OAuth 2.0 authentication, see The OAuth 2.0 Authorization Framework.
You must have the following access to use the functionality in this article:
Adobe Workfront plan* | Pro or higher |
Adobe Workfront license* | Plan, Work |
Adobe Workfront Fusion license** | Workfront Fusion for Work Automation and Integration |
Product | Your organization must purchase Adobe Workfront Fusion as well as Adobe Workfront to use functionality described in this article. |
To find out what plan, license type, or access you have, contact your Workfront administrator.
For information on Adobe Workfront Fusion licenses, see Adobe Workfront Fusion licenses
Create an OAuth client in the target service with which you want Adobe Workfront Fusion to communicate. This option is most likely found in the Developer section of the given service.
When creating a client, enter the appropriate URL in the Redirect URL
or Callback URL
field:
Americas / APAC | https://app.workfrontfusion.com/oauth/cb/oauth2 |
---|---|
EMEA | https://app-eu.workfrontfusion.com/oauth/cb/oauth2 |
After you create the client, the given service displays 2 keys: Client ID
and Client Secret
. Some services call these App Key
and App Secret
. Save the key and secret in a secure location, so you can provide them when creating the connection in Workfront Fusion.
Find the Authorize URI
and Token URI
in the API documentation of the given service. These are URL addresses through which Workfront Fusion communicates with the target service. The addresses serve for OAuth authorization.
If the service uses Implicit flow, you will need only the Authorize URI
.
Example: Yahoo addresses:
https://api.login.yahoo.com/oauth2/request_auth
https://api.login.yahoo.com/oauth2/get_token
(Conditional) If the target service uses scopes (access rights), check how the service separates individual scopes and make sure you set the separator in the advanced settings accordingly. If the separator is not set correctly, Workfront Fusion fails to create the connection, and you receive an invalid scope error.
After you complete the steps above, you can start to create the OAuth connection in Workfront Fusion. Add the OAuth 2.0 HTTP(S) request and response processing module to your scenario.
In the module’s Connection field, click Add.
Fill in the following fields to create a connection:
Connection name | Enter the name of the connection. |
||||
Flow type |
Select the flow for obtaining tokens.
|
||||
Scope | Add individual scopes. You can find this information in the given service's developer (API) documentation. |
||||
Scope separator | Select what the scopes entered above should be separated by. You can find this information in the given service's developer (API) documentation. Warning: If the separator is not set correctly, Workfront Fusion fails to create the connection and you receive an invalid scope error. |
||||
Client ID | Enter the Client ID. You obtained the Client ID when you created an OAuth client in the service you want to connect. |
||||
Client Secret | Enter the Client Secret. You obtained the Client Secret when you created an OAuth client in the service you want to connect. |
||||
Authorize parameters |
Add any parameters that you want to include in the authorization call. The following standard parameters are always automatically included and do not need to be added. Standard parameters:
|
||||
Access token parameters |
Add any parameters that you want to include in the token call. The following standard parameters are always automatically included and do not need to be added. Standard parameters:
Note: The OAuth 2.0 standard supports at least 2 methods of client authentication during this step ( For more information on OAuth 2.0 authentication, see The OAuth 2.0 Authorization Framework. |
||||
Refresh token parameters |
Add any parameters that you want to include in the token call. The following standard parameters are always automatically included and do not need to be added. Standard parameters:
Note: The OAuth 2.0 standard supports at least 2 methods of client authentication during this step ( For more information on OAuth 2.0 authentication, see The OAuth 2.0 Authorization Framework. |
||||
Custom Headers |
Specify any additional keys and values to include in the header of Token and Refresh Token steps. Note: The OAuth 2.0 standard supports at least 2 methods of client authentication during this step ( For more information on OAuth 2.0 authentication, see The OAuth 2.0 Authorization Framework. |
||||
Token placement |
Select whether to send the token in the header, query string, or in both when connecting to the specified URL. Tokens are most commonly sent in the request header. |
||||
Header token name | Enter the name of the authorization token in the header. Default: |
||||
Query string parameter name | Enter the name of the authorization token in the query string. Default: |
Click Continue to save connection settings.
Continue to OAuth 2.0 request module setup.
The following example shows how to use the HTTP > Make an OAuth 2.0 request module to connect to Google.
Ensure that you have created a project, configured OAuth settings, and generated your credentials as described in Connect Adobe Workfront Fusion to Google Services using a custom OAuth client.
Open the HTTP >Make an OAuth 2.0 request module.
Click Add next to the connection box.
Enter the following values:
Connection name | Enter the name of the connection. |
Flow type |
Authorization Code |
Authorize URI | https://accounts.google.com/o/oauth2/v2/auth |
Token URI | https://www.googleapis.com/oauth2/v4/token |
Scope | Add individual scopes. For more information on scopes, see OAuth 2.O Scopes for Google APIs in the Google documentation. |
Scope separator | SPACE |
Client ID | Enter your Google Client ID. To create a client ID, see Create OAuth Credentials in Connect Adobe Workfront Fusion to Google Services using a custom OAuth client. |
Client Secret | Enter your Google Client Secret. To create a client secret, see Create OAuth Credentials in Connect Adobe Workfront Fusion to Google Services using a custom OAuth client. |
Authorize parameters |
Add Note: If you experience authentication issues, for example with token refreshing, try adding the |
Click Continue to save connection settings.
Continue to OAuth 2.0 request module setup.
For instructions regarding Microsoft Graph API, see Call the MS Graph REST API via the Adobe Workfront Fusion HTTP > Make an OAuth 2.0 request module.
When you have established an Oauth 2.0 connection as described in Creating a connection for an OAuth request, continue setting up the module as desired. All authorization tokens are automatically included in this request, and in any other request that uses the same connection.
When you configure the HTTP >Make an OAuth 2.0 request module, Workfront Fusion displays the fields listed below. A bolded title in a module indicates a required field.
If you see the map button above a field or function, you can use it to set variables and functions for that field. For more information, see Map information from one module to another in Adobe Workfront Fusion.
Connection | For information on setting up a connection, see Creating a connection for an OAuth request in this article. |
Evaluate all states as errors (except for 2xx and 3xx) | Use this option to set up error handling. For more information, see Error handling in Adobe Workfront Fusion. |
URL | Enter the URL you want to send a request to, such as an API endpoint, website, etc. |
Method |
Select the HTTP request method you need to configure the API call. For more information, see HTTP request methods in Adobe Workfront Fusion. |
Headers | Add the headers of the request in the form of a standard JSON object. For example, |
Query String | Enter the desired query key-value pairs. |
Body type |
The HTTP Body is the data bytes transmitted in an HTTP transaction message immediately following the headers if there are any to be used.
|
Parse response |
Enable this option to automatically parse responses and convert JSON and XML responses so you don't need to use JSON > Parse JSON or XML > Parse XML modules. Before you can use parsed JSON or XML content, run the module once manually so that the module can recognize the response content and allow you to map it in subsequent modules. |
Timeout | Enter the request timeout in seconds (1-300). The default is 40 seconds. |
Share cookies with other HTTP modules | Enable this option to share cookies from the server with all HTTP modules in your scenario. |
Self-signed certificate | Upload your certificate if you want to use TLS using your self-signed certificate. |
Reject connections that are using unverified (self-signed) certificates | Enable this option to reject connections that are using unverified TLS certificates. |
Follow redirect | Enable this option to follow the URL redirects with 3xx responses. |
Follow all redirects | Enable this option to follow the URL redirects with all response codes. |
Disable serialization of multiple same query string keys as arrays |
By default, Workfront Fusion handles multiple values for the same URL query string parameter key as arrays. For example, |
Request compressed content | Enable this option to request a compressed version of the website. This adds an |
Use Mutual TLS | Enable this option to use Mutual TLS in the HTTP request. For more information on Mutual TLS, see Use Mutual TLS in HTTP modules in Adobe Workfront Fusion. |