Basic Authentication
You can use basic authentication by supplying a username in the format of
identitydomain.username
or only username
(without identity domain).
HTTP requests to Oracle Fusion Cloud EPM should supply HTTP
Basic Authentication credentials through the Authorization
header.
Finding Your Identity Domain
Use one of these methods to identify your identity domain:
- Look in the Activity Report for your environment. The name of the identity domain is displayed at the top left corner of the Activity Report. See Activity Report Contents.
- Derive the identity domain name from the URL that you use to access the environment. For
example, in this fictitious URL,
https://epm-exampleDomain.epm.dataCenter.oraclecloud.com/
, the identity domain name is exampleDomain.The test and production environments of a subscription usually share the same identity domain. For example, for test environments like as this fictitious URL,
https://epm-test-exampleDomain.epm.dataCenter.oraclecloud.com/
, the identity domain can be derived as the string enclosed between "test-" and the next ".", in this case, exampleDomain.For production environments like this fictitious URL,
https://epm-exampleDomain.epm.dataCenter.oraclecloud.com/
, the identity domain can be derived as the string enclosed between the first "-" and next ".", in this case, exampleDomain.Note: In this guide, URLs are shown in the following format:
https://<BASE-URL>
When using PowerShell to call EPMCloud REST API, ensure that the Authorization header is always specified. For example:
$headers = @{
"Authorization" = "Basic " + [System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($userName+":"+$userPassword))
}
Invoke-RestMethod -Method 'Get' -Uri $url -Headers $headers