Capabilities
The Oracle Field Service connector supports automatic account provisioning and deprovisioning.
When a new account is created by C1, the account’s password will be sent to a vault.
Entitlement provisioning
The connector provisions the following entitlements:- Role (user type): granting a role to a user sets the user’s
userTypeviaPATCH /rest/ofscCore/v1/users/{login}. BecauseuserTypeis single-valued and required in Oracle Field Service, the role entitlement does not support revoke. To change a user’s role, grant a different role; the new value replaces the previous one. - Resource: granting a Field Service resource to a user adds the resource ID to the user’s
resourcesarray viaPATCH /rest/ofscCore/v1/users/{login}. Revoke removes it. Oracle Field Service replaces the array on PATCH, so the connector reads the current array, mutates it, and writes the full list back.
Gather Oracle Field Service credentials
Configuring the connector requires you to pass in credentials generated in Oracle Field Service. Gather these credentials before you move on.Register a client application
1
In the OFS Manage interface, navigate to Configuration > Applications.
2
In the left pane, click the + icon to add a new application.
3
In the New application window, provide the following details:
- Application Name: A descriptive name you can easily recognize (for example, “C1 Connector”).
- Application ID: A unique identifier (for example, “c1-connector”).
4
Click Save. The application is created.
Configure authentication and get credentials
1
From the application list on the left, select the application you just created.
2
In the General info tab, ensure the Active checkbox is selected.
3
From the Token service dropdown menu, select OFS.
4
Under the Authentication settings section, check the box for Authenticate using Client ID/Client Secret.
5
Click the Show Client ID/Client Secret button. Carefully copy and save the client ID and client secret.
6
Click Save to apply the settings.
Enable API access and permissions
1
In the same application configuration screen, find the API access section and click Add new.
2
A window will appear with a list of available APIs. Select the following API:
- Core API
3
After adding this API, you must grant specific permissions for it. Navigate to the API’s Available entities and select the following entities:
- Core API
- User entity: Read/write (or Read if you do not want C1 to provision access)
- Resource entity: Read
4
Review the Additional Restrictions section below the API list.Do not check “Allow access only to certain resources” or “Allow access only for certain IP-addresses” unless you have a specific security requirement to do so, as it may interfere with the connector’s operation.
5
Once you have set the permissions for both APIs, click Save on the main application screen to finalize the configuration.
Configure the Oracle Field Service connector
- Cloud-hosted
- Self-hosted
Follow these instructions to use a built-in, no-code connector hosted by C1.Done. Your Oracle Field Service connector is now pulling access data into C1.
1
In C1, navigate to Apps > Connectors and click Add connector.
2
Search for Oracle Field Service and click Add.
3
Choose where to add the connector: Create a new app, or Add to an existing app (then select the app).If you’re creating a new app, choose whether to link it to an application discovered from your identity provider: select Yes and pick the IdP application, or No to continue with just the connector.
4
Set the connector’s Name and, optionally, a Description.
5
Click the pencil icon next to Owners to choose who can configure and manage this connector.
6
Click Add. The connector is created and its configuration page opens.
7
Find the Settings area of the page and click Edit.
8
If your Oracle Field Service tenant uses full emails as login names, click to enable the Login has email option. Leave this option unchecked if your tenant uses usernames without email domains.
9
Paste the client ID and client secret into the relevant fields.
10
Enter your Oracle Field Service instance domain in the Instance URL field.
11
Click Save.
12
The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.