|
The sample configuration file contains connector configuration values that represent the third-party service or utility. For example, for Gmail, do not modify google_gmail in the JSON object. To add multiple OAuth providers for Gmail, for example, Gmail-1 and Gmail-2, add the following JSON object to the sample file:
{
"google_gmail": { "Gmail-1": { "CLIENT_ID": "<client id for Gmail - 1 account here>", "CLIENT_SECRET": "<client secret for Gmail - 1 account here>" }, "Gmail-2": { "CLIENT_ID": "<client id for Gmail - 2 account here>", "CLIENT_SECRET": "<client secret for Gmail - 2 account here>" } } } |
Service or Utility
|
Connector Configuration Value
|
---|---|
azure
|
|
bitly
|
|
box
|
|
dropbox
|
|
dynamics365
|
|
excel
|
|
github
|
|
google_gmail
|
|
google_drive
|
|
google_form
|
|
google_sheet
|
|
google_task
|
|
google_translator
|
|
integrity
|
|
odata
|
|
microsoft_365
|
|
onedrive
|
|
salesforce
|
|
servicemax
|
|
slack
|
|
soap
|
|
swagger
|
|
trello
|
|
windchill
|
|
youtube
|
|
zendesk
|
Parameter
|
Description
|
Value
|
---|---|---|
CLIENT_ID
|
Specifies the client identifier to use for validation access tokens from the authorization server.
|
Retrieve the value from your Azure application.
|
CLIENT_SECRET
|
Client secret value.
|
Retrieve the value from your Azure application.
|
Parameter
|
Description
|
Value
|
---|---|---|
CLIENT_ID
|
Specifies the client identifier to use for validation access tokens from the authorization server.
|
Retrieve the value from your Bitly app.
|
CLIENT_SECRET
|
Client secret value.
|
Retrieve the value from your Bitly app.
|
Parameter | Description | Value |
---|---|---|
CLIENT_ID | Specifies the client identifier to use for validation access tokens from the authorization server. | Retrieve the value from your Box app. |
CLIENT_SECRET | Client secret value. | Retrieve the value from your Box app. |
Parameter | Description | Value |
---|---|---|
CLIENT_ID | Specifies the client identifier to use for validation access tokens from the authorization server. | Retrieve the value from your Dropbox app. |
CLIENT_SECRET | Client secret value. | Retrieve the value from your Dropbox app. |
Parameter | Description | Value |
---|---|---|
CLIENT_ID | Specifies the client identifier to use for validation access tokens from the authorization server. | Retrieve the value from your Azure application. |
CLIENT_SECRET | Client secret value. | Retrieve the value from your Azure application. |
Parameter | Description | Value |
---|---|---|
CLIENT_ID | Specifies the client identifier to use for validation access tokens from the authorization server. | Retrieve the value from your Azure application. |
CLIENT_SECRET | Client secret value. | Retrieve the value from your Azure application. |
Excel Online "excel": { "Excel Online": { "CLIENT_SECRET": "<client secret here>", "CLIENT_ID": "<client id here>" } } | Office 365 "microsoft_365": { "Office 365": { "CLIENT_SECRET": "<client secret here>", "CLIENT_ID": "<client id here>" } } | OneDrive "onedrive": { "OneDrive": { "CLIENT_SECRET": "<client secret here>", "CLIENT_ID": "<client id here>" } } |
Parameter | Description | Value |
---|---|---|
CLIENT_ID | Specifies the client identifier to use for validation access tokens from the authorization server. | Retrieve the value from your Github app. |
CLIENT_SECRET | Client secret value. | Retrieve the value from your Github app. |
Parameter | Description | Value |
---|---|---|
CLIENT_ID | Specifies the client identifier to use for validation access tokens from the authorization server. | Retrieve the value from your Google app. |
CLIENT_SECRET | Client secret value. | Retrieve the value from your Google app. |
Gmail "google_gmail": { "Gmail": { "CLIENT_SECRET": "<client secret here>", "CLIENT_ID": "<client id here>" } } | Google Drive "google_drive": { "Google Drive": { "CLIENT_SECRET": "<client secret here>", "CLIENT_ID": "<client id here>" } } |
Google Form "google_form": { "Google Form": { "CLIENT_SECRET": "<client secret here>", "CLIENT_ID": "<client id here>" } } | Google Sheet "google_sheet": { "Google Sheet": { "CLIENT_SECRET": "<client secret here>", "CLIENT_ID": "<client id here>" } } |
Google Task "google_task": { "Google Tasks": { "CLIENT_SECRET": "<client secret here>", "CLIENT_ID": "<client id here>" } } | Google Translator "google_translator": { "Google Translator": { "CLIENT_SECRET": "<client secret here>", "CLIENT_ID": "<client id here>" } } |
Youtube "youtube": { "Youtube": { "CLIENT_SECRET": "<client secret here>", "CLIENT_ID": "<client id here>" } } |
Parameter | Description | Value |
---|---|---|
CLIENT_ID | Specifies the client identifier to use for validation access tokens from the authorization server. | Retrieve the value from your PingFederate OAuth client. |
CLIENT_SECRET | Client secret value. | Retrieve the value from your PingFederate OAuth client. |
BASE_URL | Specifies PingFederate OAuth URL. | https://<Pingfederate FQDN>:<Port>/as |
Parameter | Description | Value |
---|---|---|
CLIENT_ID | Specifies the client identifier to use for validation access tokens from the authorization server. | Retrieve the value from your OAuth application. |
CLIENT_SECRET | Client secret value. | Retrieve the value from your OAuth application. |
VALIDATE_URL | Specifies the URL used to validate the access token. | Retrieve the value from your OAuth client. |
REFRESH_URL | Specifies the URL to be used to obtain access tokens. | Retrieve the value from your OAuth client. |
TOKEN_URL | Provides the access token. | Retrieve the value from your OAuth client. |
AUTH_URL | Specifies the OAuth endpoint for token requests. | Retrieve the value from your OAuth client. |
Parameter | Description | Value |
---|---|---|
CLIENT_ID | Specifies the client identifier to use for validation access tokens from the authorization server. | Retrieve the value from your OAuth application. |
CLIENT_SECRET | Client secret value. | Retrieve the value from your OAuth application. |
VALIDATE_URL | Specifies the URL used to validate the access token. | Retrieve the value from your OAuth client. |
REFRESH_URL | Specifies the URL to be used to obtain access tokens. | Retrieve the value from your OAuth client. |
TOKEN_URL | Provides the access token. | Retrieve the value from your OAuth client. |
AUTH_URL | Specifies the OAuth endpoint for token requests. | Retrieve the value from your OAuth client. |
Parameter | Description | Value |
---|---|---|
CLIENT_ID | Specifies the client identifier to use for validation access tokens from the authorization server. | Retrieve the value from your Salesforce App. |
CLIENT_SECRET | Client secret value. | Retrieve the value from your Salesforce App. |
Parameter | Description | Value |
---|---|---|
CLIENT_ID | Specifies the client identifier to use for validation access tokens from the authorization server. | Retrieve the value from your Servicemax App. |
CLIENT_SECRET | Client secret value. | Retrieve the value from your Servicemax App. |
Parameter | Description | Value |
---|---|---|
CLIENT_ID | Specifies the client identifier to use for validation access tokens from the authorization server. | Retrieve the value from your Slack App. |
CLIENT_SECRET | Client secret value. | Retrieve the value from your Slack App. |
Parameter | Description | Value |
---|---|---|
CLIENT_ID | Specifies the client identifier to use for validation access tokens from the authorization server. | Retrieve the value from your OAuth application. |
CLIENT_SECRET | Client secret value. | Retrieve the value from your OAuth application. |
VALIDATE_URL | Specifies the URL used to validate the access token. | Retrieve the value from your OAuth client. |
REFRESH_URL | Specifies the URL to be used to obtain access tokens. | Retrieve the value from your OAuth client. |
TOKEN_URL | Provides the access token. | Retrieve the value from your OAuth client. |
AUTH_URL | Specifies the OAuth endpoint for token requests. | Retrieve the value from your OAuth client. |
Parameter | Description | Value |
---|---|---|
CONSUMER_KEY | Specifies the consumer key to use for validation access tokens from the authorization server. | Retrieve the value from Trello developer API keys. |
CONSUMER_SECRET | Consumer secret value. | Retrieve the value from Trello developer API keys. |
Parameter | Description | Value |
---|---|---|
CLIENT_ID | Specifies the client identifier to use for validation access tokens from the authorization server. | Retrieve the value from your PingFederate OAuth client. |
CLIENT_SECRET | Client secret value. | Retrieve the value from your PingFederate OAuth client. |
BASE_URL | Specifies PingFederate OAuth URL. | https://<Pingfederate FQDN>:<Port>/as |
PF_IDP_ADAPTER_ID | Optional. Specifies the PingFederate IdP adapter ID from your configuration. Specify only if you have multiple IdP adapters in PingFederate. | PingFederateAdapterID |
RESOURCE_URL | Optional. Specifies the Windchill URL. It is recommended to provide RESOURCE_URL while configuring OAuth. If you do not specify the RESOURCE_URL, then the user must provide it while adding an OAuth connector. | <protocol>://<Windchill FQDN>:<Port>/Windchill |
Parameter | Description | Value |
---|---|---|
CLIENT_ID | Specifies the client identifier to use for validation access tokens from the authorization server. | Retrieve the value from your Zendesk App. |
CLIENT_SECRET | Client secret value. | Retrieve the value from your Zendesk App. |
Scenario | Solution | ||
---|---|---|---|
You cannot add an OAuth provider, if an OAuth connector is using an existing OAuth provider with the same name.
| • Add a unique OAuth provider name, and then load the OAuth configuration. For example, if Gmail-1 exists in the OAuth configuration, then add Gmail-2 to the OAuth configuration JSON file as shown in the following example code: { "google_gmail": { "Gmail-1": { "CLIENT_ID": "<client id for Gmail - 1 account here>", "CLIENT_SECRET": "<client secret for Gmail - 1 account here>" }, "Gmail-2": { "CLIENT_ID": "<client id for Gmail - 2 account here>", "CLIENT_SECRET": "<client secret for Gmail - 2 account here>" } } } OR • Delete any connectors that use the existing OAuth provider, upload the OAuth provider again, and then restart the OAuth service. Complete the following steps to restart the OAuth service: 1. On the system where ThingWorx Flow is installed, start Command Prompt as Administrator. 2. Run the pm2 ls command to obtain the OAuth service number. 3. Run the pm2 restart <OAuth_service_number> command to restart the OAuth server. OR On the system where ThingWorx Flow is installed, start Command Prompt as Administrator, and run the pm2 restart flow-oauth-server command to restart the OAuth server. |