Posts

How to create OAuth Client in IDCS with our Own Client ID (and Using It with Fusion ERP)

Image
When we create a Confidential Application in an OCI IAM Identity Domain (IDCS) from the console, Oracle generates the Client ID for us. It's a long random string. Usually that's fine, but sometimes we need to choose the Client ID ourself. A common case is Oracle Fusion ERP integrations. When a client application gets a token from the Fusion environment's IDCS using the client_credentials grant, Fusion treats the Client ID as the user making the call. If you create the OAuth client with a Client ID that matches your Fusion integration user's username (for example test_erp_int_usr ), every web service call made with that token runs as that integration user, with the same roles and data access. You don't need to share a password and you don't need basic authentication. You just give the app the Fusion environment's scope. You can't set a custom Client ID in the console. It can only be done through the IDCS REST API ( /admin/v1/Apps ), which must be call...

How to Trigger an OIC integration from a Fusion BIP report and let users run it as an ESS job

Image
  Sooner or later, someone in the business asks to run an integration "from Fusion", without logging in to OIC. They want a button they already know: Schedule New Process, a nd the team that owns the integration wants to decide exactly who is allowed to run it. This post shows one way to do that. A custom ESS job runs a BI Publisher report, the report calls an OIC integration over REST, and a custom role controls who can submit the job. I will walk through each piece with screenshots from a working setup, including a small "router" integration in OIC that lets one ESS job trigger many different integrations. The idea in one picture Step Where What happens 1 Fusion, Scheduled Processes A user submits the custom ESS job and fills in a few parameters, such as the integration ID. 2 Fusion, BI Publisher The ESS job runs a BIP report. The report's data ...