Disabling OAuth2 Authentication for REST Service Operations

To perform validation on an integration that includes a protocol that is currently not supported by the Integration Broker framework, an administrator can disable OAuth2 processing for the specific integration at the service operation level using the integrationGateway.properties file.

To turn off OAuth2 processing for a service operation, access the integrationGateway.properties file. Then remove the # preceding the ig.TurnOffOAuth2 parameter and add the defined External Operation name(s) or External Alias name(s) for the property after the parameter. For multiple External Alias names, separate the names with a comma but without any spaces in between; for example:

ig.TurnOffOAuth2=<External Alias1>,<External Alias2>,<External Alias3>

By default the property is set to False. For more information, see Disabling OAuth2 Authentication for REST Integrations.

Note:

If OAuth2 is disabled for a service operation, then the Req Verification on the Service Operation must not be set to OAuth2 Authentication or OAuth2 Authentication and SSL. The Integration Broker framework will reject the processing and throw an error with either of these settings. Similarly, for Application Services, OAuth2 should not be selected on the Token Required page for the App Service ID. See Integration Broker: Setting Application Services Security. Also, if you elect to perform your own OAuth2 authentication outside the Integration Broker framework, you must update the request validation option accordingly.

Finding the External Alias Name for REST Provider Service

You can find the External Alias name for the service operation in the Parameters tab of the Routing Definitions page. For more information, see Integration Broker: Defining Routing Parameters.

Finding the External Alias Name for Provider Application Service

The External Alias name of an Application service is the Service URL ID of the Application Service with ".v1" added after it. For example, if the Service URL ID of an Application Service is flight, the External Alias will be flight.v1. For more information, see Integration Broker: Searching for Application Service.