Accounting
NetSuite Unknown
2026-11-23

OAuth 2.0 Device-Code Flow for Financial Consolidation and Close Connection

NetSuite EPM's Close Management and Consolidation module now supports OAuth 2.0 (device-code grant) as an alternative to basic authentication when connecting to Oracle Cloud EPM Financial Consolidation and Close.

Affects:NetSuite EPMClose Management and ConsolidationOAuth 2.0OCI Identity Domains

What changed

The NetSuite EPM integration with Oracle Cloud EPM Financial Consolidation and Close (FCCS) now supports OAuth 2.0 authentication using the device-code grant type. Previously, the connection relied on basic authentication (username/password). The new flow delegates token issuance to an OCI Identity Domain, issues refresh tokens, and removes the need to store a service-account password inside NetSuite.

The configuration lives at NetSuite EPM > Close Management and Consolidation > Connection Settings, where a new OAuth 2.0 type and Configure button launch a guided wizard that collects three values:

  • IDCS URL — the Domain URL from OCI Identity & Security > Domains.
  • Client ID — generated when you register a Mobile Application integrated app in the identity domain.
  • Scope — in the format urn:opc:serviceInstanceID=<SERVICE_INSTANCE_ID>urn:opc:resource:consumer::all, copied from the OAuth configuration after adding the Cloud EPM resource.

The wizard then presents a one-time device-code verification step: you copy a code, follow a URL, and paste the code into the Cloud EPM consent screen. The authorising user must hold at least a Power User role with access to the target FCCS application.

OCI-side setup details

On the OCI Identity Domain you must:

  1. Create an integrated application of type Mobile Application.
  2. Enable Refresh token and Device code grants; clear the Implicit grant.
  3. Set Client IP address to Anywhere.
  4. Under Token issuance policy, enable Add resources, add the Cloud EPM resource, and copy the generated scope string.
  5. Activate the application.
  6. On the Cloud EPM service instance's own OAuth configuration, enable Allow token refresh and add the exact FCCS URL (no trailing slash) as a secondary audience.

What to do

  1. Determine the release version. Oracle's documentation does not specify which NetSuite release introduced this capability. Check your account's release notes under Setup > Company > Release Notes or test whether the OAuth 2.0 option appears on the Connection Settings page in your current version.
  2. Register the OCI integrated application following the six steps above. Use a descriptive name (e.g., NetSuite-FCCS-OAuth) so it is easy to audit later.
  3. Coordinate with your EPM administrator. The user who completes the device-code consent must have at minimum a Power User role on the target FCCS application. Decide whether this will be a shared service account or a named user; note that refresh tokens can expire based on OCI domain policy.
  4. Verify the secondary audience URL matches the value in the Close Management and Consolidation URL field in NetSuite exactly — no trailing slash.
  5. Complete the NetSuite wizard at NetSuite EPM > Close Management and Consolidation > Connection Settings > OAuth 2.0 > Configure. Paste IDCS URL, Client ID, and Scope, then follow the device-code verification flow.
  6. Test the connection end-to-end (run a consolidation or pull trial balances) before decommissioning the basic-auth credential.
  7. Review token-refresh policies. OCI domains control refresh-token lifetime. If the token expires, the connection will break silently. Set a calendar reminder or monitoring alert aligned with your domain's token policy.

Note: The source page contains a typo — "AOuth 2.0" instead of "OAuth 2.0" — which may affect keyword searches in the help center.