Supporting OAuth without whitelisting connect.adeptia.com

In the event of an Adeptia Connect user not willing to whitelist the incoming traffic for the REST based business apps (endpoints) supported in application, they can configure enableProduction property in apps.properties and adapter.properties files.

If enable Production property is set to True, the previous behavior will be retained that is connect.adeptia.com server will be allowed to access the Connect Server instance behind the firewall. If it is set to False, the user needs to allow the business applications to use the access token received directly from the third party token provider. 

Steps to define enable Production property in adapter.properties and apps.properties files

  • Setting the property in adapter.properties file.
    1. Go to …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc location.
    2. Open adapter.properties file.
    3. Set the value of enableProduction property to True or False.
    4. Save the file.
    5. Restart Connect Server.

  • Setting the property in apps.properties file.
    1. Go to <ConnectPortalInstallFolder>\resources_config location.
    2. Open apps.properties file.
    3. Set the value of enableProduction property to True or False.
    4. Save the file.
    5. Restart Connect Portal.

Allowing business application account to use access token directly

To make this work, you need to make the following configuration changes in the business application as well as the Adeptia Connect Server.

  1. Changes on respective business application
    1. Create an app 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: App Key and App Secret.
    2. 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/dropbox/account URL.

  2. Changes in Adeptia Connect Server
    You need to configure following parameters in these two files: adapter.properties and apps.properties.
    1. Configure the parameters in adapter.properties file.
      1. Go to …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc location.
      2. Open adapter.properties file.
      3. Set App key: (Key generated in business application developer app)
      4. Set App secret: (Secret generated in business application developer app)
      5. Set the value of enableProduction property to False.
      6. Save the file.
      7. Restart Connect Server.
    2. Configure the parameters in apps.properties file.
      1. Go to <ConnectPortalInstallFolder>\resources_config location.
      2. Open apps.properties file.
      3. Set App key: (Key generated in business application developer app)
      4. Set App secret: (Secret generated in business application developer app)
      5. Set the value of enableProduction property to False.
      6. Save the file.
      7. Restart Connect Portal.