Supporting OAuth without whitelisting connect.adeptia.com
- Akash Kumar Jaiswal (Unlicensed)
- Ashhad Alam
Owned by Akash Kumar Jaiswal (Unlicensed)
In the event of Adeptia Connect users not willing to whitelist the connect.adeptia.com server to exchange data with the REST based business apps (endpoints) supported in application, they need to do the followings.
Register the app on the business application developer portal
Create an app (API) on the developer portal of business application. For example, in case of Dropbox, create an app in the developer options.
Once app is created, you get the following details about the app: AppKey and App KeySecret.Configure the Redirect URL which contains the IP of locally accessible environment. For example, in case of Dropbox, it will be https://<IP>/rest/applications/<Application internal name>/account URL.
Refer to the table below to get the Application internal name for each business app.Application display name Application internal name BigCommerce bigcommerce Facebook facebook FreshBooks freshbooks Azure Blob microsoftazure HubSpot hubspot Magento magento QuickBooks quickbooks Xero xero SageOne sageone Shopify shopify Concur concur Salesforce salesforcerest Box box Dropbox dropbox Google Drive googledrive Zendesk zendesk Zoho CRM zohocrm Google Spreadsheets googlespreadsheetsrest Microsoft SharePoint microsoftsharepoint ServiceNow servicenow
Make configurational changes in Adeptia Connect
- Configure the parameters in adapter.properties file as instructed below:
- Go to …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc location.
- Open adapter.properties file.
- Set App key: (Key generated in business application developer app)
- Set App secret: (Secret generated in business application developer app)
- Set the value of enableProduction property to False. For more information, refer to "Setting the enableProduction property ".
- Save the file.
- Restart Connect Server.
- Configure the parameters in apps.properties file as instructed below:
- Go to …<ConnectPortalInstallFolder>\resources_config location.
- Open apps.properties file.
- Set App key: (Key generated in business application developer app)
- Set App secret: (Secret generated in business application developer app)
- Set the value for enableProduction property to False. For more information, refer to the "Setting the enableProduction property" section.
- Save the file.
- Restart Connect Portal.
- Configure the parameters in adapter.properties file as instructed below:
Setting the enableProduction property
- Setting the value for enableProduction property in adapter.properties file
- Go to …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc location.
- Open adapter.properties file.
- Set the value of enableProduction property to True or False.
- Save the file.
- Restart Connect Server.
- Setting the value for enableProduction property in apps.properties file
- Go to …<ConnectPortalInstallFolder>\resources_config location.
- Open apps.properties file.
- Set the value of enableProduction property to True or False.
- Save the file.
- Restart Connect Portal.
- The default value for this property is True, which allows connect.adeptia.com server to access the business app behind the firewall.
- If it is set to False, the business app will use the access token received directly from the third party token provider.
You may be interested in...