IPO Example
To determine the IDCS_SCOPE
, refer to the tenant string portion (for example, rgbu-rap-cust-stg1-ipocs
) of your cloud service URL (for example, https://rap.retail.us-ashburn-1.ocs.oraclecloud.com/rgbu-rap-cust-stg1-ipo/rpasceui/
)
Planning Cloud Service URL Patterns | SCOPE |
---|---|
|
|
|
|
Based on the tenant string (for example, rgbu-rap-cust-stg1-ipocs
), the environment index is stg1
and the application is ipocs
. For this combination, the IDCS scope will look like the configuration below
(ensuring it is in uppercase characters only):
IDCS_SCOPE = rgbu:rpas:psraf-IPOCS-STG1
Create the OAuth Client in Retail Home with the following parameters:
-
App Name: IPOCS_STG1
-
Description: FTS for IPOCS on STG1
-
Scope 1: rgbu:rpas:psraf-IPOCS-STG1
This generates an OAuth Client with details like this:
-
Oauth client:
-
App Name: IPOCS_STG1
-
Client Id: IPOCS_STG1_APPID
-
Client Secret: 6aae7818-309b-4e7a-874e-f26356a675b1
You will need to capture Client Id and Client Secret. So set the FTS script variables as follows:
BASE_URL="https://rap.retail.eu-frankfurt-1.ocs.oraclecloud.com"
TENANT="rgbu-rap-hmcd-stg1-ipocs"
IDCS_URL="https://ociāiam-a4cbf187f29d4f41bc03fffb657d5513.identity.oraclecloud.com/oauth2/v1/token"
IDCS_CLIENTID="IPOCS_STG1_APPID"
IDCS_CLIENTSECRET="6aae7818-309b-4e7a-874e-f26356a675b1"
IDCS_SCOPE="rgbu:rpas:psraf-IPOCS-STG1"