Connect to Oracle Cloud Applications APIs
You can connect to Oracle Cloud Applications APIs using either identity propagation or fixed credentials.
Connect to Oracle Cloud Applications APIs With User Propagation for Authenticated Flows
To connect to Oracle Cloud Applications APIs using user propagation, the identity provider used by Oracle Cloud Applications and the IDCS used by Visual Builder must be federated.
Oracle Cloud Applications use their own identity provider (IdP), whereas Visual Builder uses IDCS only as its identity provider. The identity providers used by each service must be federated to establish a trust relationship. The list of users can be maintained in either identity provider, but not in both, but it is recommended that you use the Oracle Cloud Applications IdP, which can use SAML to provide additional integration with other identity providers.
In most cases, your Oracle Cloud Applications instance will already be federated to an IDCS instance, which also applies to the Visual Builder instance. If this isn't the case, an administrator will need to set up federation between the Oracle Cloud Applications and Identity Cloud Service instances by following the steps in this document: Oracle Fusion Applications Release 13.
If the federation has already been done, an administrator needs to go to the Services tab in the Tenant Settings page in the Visual Builder instance, and create an Oracle Cloud Applications backend service. See Add a Connection to Oracle Cloud Applications. The instance URL used for creating the backend service is the same as the Oracle Cloud Applications Base URL.
When creating the service connection, you use the following authentication method:
Authentication method | Details |
---|---|
Oracle Cloud Account |
The default authentication and connection type for the service connection is determined by the backend service settings from which the service was added from the catalog. For example, if the service was chosen from the Oracle Cloud Applications > Sales and Service catalog, then the settings will be inherited from the backend representing Sales and Service. Typically, your service administrator will define the backend service settings in Tenant Settings. These settings can be overridden at the application level (with Application Backend Settings). You can choose to override these inherited settings by navigating to Services in the Navigator, then clicking Backends. You can:
|
To connect to Oracle Cloud Applications APIs with user propagation:
- Open Services in the Navigator, click the + sign, and select Service Connection.
- Click Select from Catalog in the Create Service Connection wizard.
- Click Oracle Cloud Applications and select an endpoint. Click Create.
- Test the service connection.
- Optional: If you want to make the service connection accessible to the application's anonymous users, click Override security, then select the Allow anonymous access to the Service Connection Infrastructure checkbox in the Edit Server dialog that you invoke from the Servers tab. Use the Authentication for anonymous users drop-down list to configure an authentication type for anonymous users.
Connect to Oracle Cloud Applications APIs Not in the Catalog Using Fixed Credentials
To connect to a service in an Oracle Cloud Applications instance that is not associated with your Visual Builder instance, you can create a connection using the credentials of a fixed user registered in the Oracle Cloud Applications instance.
To create the connection, you need to have the credentials of a fixed Oracle Cloud Applications user of the instance, or an administrator will need to create the Oracle Cloud Applications user with the necessary privileges for you. When you use this user to create the connection, all requests to the Oracle Cloud Applications REST APIs will use the fixed user's credentials. The credentials of the logged-in user are not used when communicating with the service.
Oracle Cloud Applications instances are usually associated with your Visual Builder instance in the Tenant Settings. If your instance is already associated with an Oracle Cloud Applications instance and you want to connect to a different instance in your visual application using the Service Catalog, you can open your visual application's Settings editor and override the Tenant Settings to edit the application's Oracle Cloud Applications instance settings. When you override the default instance settings, your application will not be able to access any services provided by the default instance because a visual application can only have one default Oracle Cloud Applications instance to populate the Service Catalog.
If you do not want to change the default Oracle Cloud Applications instance for your application, you can create a service connection by selecting the Define by Endpoint option in the Create Service Connection wizard.
When creating the service connection, you can use the following authentication method for the service connection:
Authentication method | Details |
---|---|
Basic |
To use this option you need to provide the following details:
|
To connect to an Oracle Cloud Applications service that is not in your catalog: