BIP REST API failing when using Basic Auth OAC
Summary:
We are using Node JS code with in which calling the OTM SaaS BIP Rest API and trying to invoke the report and get the data
In the payload have used base64 encoded the user name password. It was working before OAC migration.
{ "method": "POST", "url": "https://otmgtm-a573173.otmgtm.eu-frankfurt-1.ocs.oraclecloud.com//xmlpserver/services/rest/v1/reports/Custom%252FOMC_AUTO_BULK_PLAN%252FOMC_AUTO_BULK_PLAN_RPT/run", "headers": { "Content-Type": "multipart/form-data; boundary="Boundary_1_1153447573_1465550731355"", "Authorization": "Basic XXXXXX" }, "body": "\n--Boundary_1_1153447573_1465550731355\nContent-Type: application/json\nContent-Disposition: form-data; name="ReportRequest"\n\n{"byPassCache":true,"flattenXML":false}\n--Boundary_1_1153447573_1465550731355--\n" }
Post OAC migration the user name and password is coming from IDCS and if i encode in base64 its not working…