SSO connection — IDCS / IAM
With an SSO — IDCS / IAM connection, you sign in from your browser with your corporate account: ERP Commander never sees or stores an Oracle password. This guide covers registering the application in the Oracle identity domain, done once per environment, then creating the connection in ERP Commander.
The procedure is the same for ERP Commander Data, Setup and Companion.
- 1. How it works, prerequisites
- 2. Create the application
- 3. Configure OAuth
- 4. Activate and collect the values
- 5. Create the connection
- 6. Day to day
- 7. Troubleshooting
1. How it works and prerequisites
ERP Commander opens your browser on your company’s sign-in page. Once you are signed in, the Oracle identity domain hands the application a short-lived access token, which it then presents to Oracle Fusion. For this exchange to be allowed, ERP Commander must be registered as a confidential application in the identity domain.
| Who | Does what | When |
|---|---|---|
| Identity domain administrator (OCI IAM / IDCS) | Creates and configures the confidential application, then shares four values with users (steps 2 to 4). | Once per Fusion environment. |
| Each user | Creates the connection in ERP Commander with those four values and signs in (step 5). | Once per workstation and environment. |
Before you start, check that:
- you have administrator access to the Oracle Cloud console, on the identity domain your Fusion environment is attached to;
- local port
8787is free on users’ workstations: this is where ERP Commander receives the browser’s return; - users have an Oracle Fusion account with the roles their ERP Commander application needs;
- your ERP Commander version offers the SSO — IDCS / IAM connection type (ERP Commander Data 7.9 or later).
2. Create the application in the identity domain
- Sign in to the Oracle Cloud console, open the navigation menu, then Identity & Security › Domains.

Oracle Cloud console: Identity & Security › Domains. - Click the domain of the environment concerned, open the Integrated applications tab, then click Add application.

The domain › Integrated applications › Add application. - Choose Confidential Application, then click Launch workflow, at the bottom right of the page.

The type to pick: Confidential Application. - Enter a meaningful Name and Description, for example
ERPCommander_OAuth. Leave the other fields empty and confirm.
Only the name and description are needed.
Each Fusion environment (DEV, TEST, PROD…) has its own resource in the identity domain. Create one application per environment, or add each environment’s resource to a single application in step 3.
3. Configure OAuth
- On the application page, open the OAuth configuration tab, then click Edit OAuth configuration.

OAuth configuration tab › Edit OAuth configuration. - Under Resource server configuration, keep No resource server configuration. Under Client configuration, choose Configure this application as a client now.
- Under Allowed grant types, tick Authorization code and Refresh token.
- Turn on Allow non-HTTPS URLs: the return address is local to the workstation, over
http.
Client application, allowed grants and non-HTTPS URLs. Client credentials is not requiredIn the screenshot, Client credentials is ticked as well: ERP Commander does not use it. Only tick it if you plan to test the application with a technical tool.
- In Redirect URL, enter exactly
http://127.0.0.1:8787/oauth/callback. Keep Client type on Confidential and leave the other fields at their defaults.
The return address must match character for character. - Under Token issuance policy, turn on Add resources, click Add scope and select the Fusion Applications Cloud Service resource of your environment.

The Fusion resource added: its scope goes into ERP Commander. - Save the configuration.
It looks like urn:opc:resource:faaas:fa:YOUR-ENVurn:opc:resource:consumer::all: two identifiers joined together, with no space. Always obtain it through Add scope, then copy it as is.
4. Activate the application and collect the values
- Back on the application page, open the Actions menu and click Activate. The status changes to Active.

While the application is Inactive, no sign-in is accepted. - In the OAuth configuration tab, collect the three values marked in the screenshot, then the domain address.

The three values to collect from the application page.
| Value | Where to find it | Field in ERP Commander |
|---|---|---|
| 1. Client ID | Application page › General Information. | Client ID |
| 2. Client secret | Application page › Client secret › Show secret. | Client Secret |
| 3. Scope | Application page › Resources, Scope column. | Scope |
| Domain address | Domain page › Details tab › Domain URL, in the form https://idcs-xxxxxxxx.identity.oraclecloud.com. | Identity domain URL (https) |
Share it with users through a secure channel (a password vault, for example), never in plain text by e-mail. If it is compromised, Regenerate secret issues a new one: every user then has to enter it again in their connection.
5. Create the connection in ERP Commander
The labels below are those of ERP Commander Data; Setup and Companion ask for the same information in their connections screen.
- On the Connect to Oracle Fusion screen, open the Connection list and choose + New connection….
- Fill in the Name (for example “DEV”), the Fusion Environment URL and your Oracle Username.
- Under Connection type, pick the SSO — IDCS / IAM card.
- Enter the Identity domain URL (https), the Client ID and the Client Secret, then replace the suggested Scope with the one collected in step 4.
- Leave Authorize path (
oauth2/v1/authorize), Token path (oauth2/v1/token) and Redirect port (8787) at their defaults, then click Add. - Select the connection and click Connect. The SSO session panel shows No session opened: click SSO sign-in.
- Your browser opens: sign in with your corporate account. A page confirms the sign-in succeeded; you can close the tab.
- Back in ERP Commander, the panel shows Session: followed by your name, and the application opens.
The Client Secret and the session token are kept in Windows Credential Manager. They are never displayed, nor sent to LOGIC FACTORY.
6. Day to day
- No password to type: on start-up, ERP Commander reuses your session. If it is no longer valid, it offers SSO sign-in.
- Session lifetime: the access token lasts about one hour and renews by itself when the identity domain allows it. Otherwise the SSO session expired window appears: one click on SSO sign-in is enough, with nothing to retype while your browser session is still open.
- Cancel: while waiting for the browser, Cancel stops the sign-in with no side effect. The wait ends by itself after five minutes.
- BI Publisher in ERP Commander Data: with a token connection, running and publishing reports work, but browsing the BI Publisher catalog remains unavailable. This is an Oracle limitation.
7. Troubleshooting
| What you see | Likely cause and fix |
|---|---|
| The browser does not open, or a message says the port is busy | Another program is using port 8787. Close it, or pick another port: it must then be changed both in Redirect port and in the application’s Redirect URL. |
| The browser shows an Oracle error before the sign-in page | The Redirect URL does not exactly match http://127.0.0.1:8787/oauth/callback, Allow non-HTTPS URLs is off, the Client ID is wrong or the application is not Active. |
invalid_scope | The Scope entered differs from the one in the Resources table: a space between the two identifiers, a truncated value or the scope of another environment. |
invalid_client | Wrong Client ID or Client Secret, or the secret was regenerated in the console. Edit the connection and enter the secret again. |
access_denied | The identity domain refused access. Depending on your domain’s policy, the user or their group must be assigned to the application (Users and Groups tabs). |
| SSO session expired keeps coming back | The domain does not grant silent renewal for this environment. Check that the Refresh token grant is ticked; otherwise click SSO sign-in each time it expires. |
| IAM domain unreachable | Check the workstation’s network access (proxy, VPN) and the Identity domain URL: it starts with https:// and points to the identity domain, not to the Fusion environment. |
| Sign-in succeeds, but Oracle then rejects requests | The signed-in account has no matching Fusion account, or it lacks roles. Check with your Oracle administrator. |
Still stuck? Contact us and quote the message displayed.