How to create OAuth Client in IDCS with our Own Client ID (and Using It with Fusion ERP)
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...