This authentication method passes the logged in VBCS user credentials to
Intelligent Track and Trace application and then enforce the appropriate access
control while invoking Track and Trace REST APIs. For this type of authentication,
the VBCS user must be a Track and Trace user.
To connect endpoint URLs by using Oracle Cloud Account or by
using OAuth 2.0 User Assertion (Single Sign-On)
authentication:
Create a Service Connection in VBCS
-
Sign in to the Visual Builder Studio from the Oracle Cloud home
page.
-
From the Navigator bar, click
Services (
).
-
In the Services pane, click (
) and then click Service
Connection.
-
Click Define by Endpoint as a service
connection source.
-
Enter the endpoint URL of the Intelligent Track and Trace
API.
To get response from the Trading Partners API,
use the endpoint URL of your Intelligent Track and Trace
instance URL. For example,
https://<OITT-Instance>/bca/api/businessNetworks/v2/networks/local/tradingPartners
If you know what type of action you want to
perform, select it in the Action Hint drop-down list. For
example, if you select a GET method, you can choose Get Many
to retrieve multiple records.
-
Click Next.
-
In the Overview tab, provide the Service Name, Title, and Version. Optionally, enter a description.
-
Click Service tab and provide the
following Authentication
details:
-
From the Authentication
drop-down, select Oracle Cloud
Account or OAuth 2.0 User
Assertion.
-
Under Scope, enter the
resource URL of the Intelligent Track and Trace
API.
For example,
https://<OITT-Instance.oraclecloud.com>/bca/api
-
From the Connection Type
drop-down, select Dynamic , the service
supports CORS.
The Cross-Origin Resource Sharing (CORS)
support allows VBCS users from the different
identity domains to access the Intelligent Track
and Trace REST services. This implements a Single
Sign-On authentication instead of passing IDCS
client IDs, client secrets, token URLs to
authenticate VBCS users separately.
-
In the Headers section, click
Add Header and enter the
Tanent ID name and its corresponding
value.
-
Under Test tab, click Send
Request.
The response from the Trading Partner API is
successful.