Salesforce
Owlie syncs Salesforce users, profiles, roles, groups, permission sets, permission set groups and licenses. It provisions user accounts and manages direct role, group, permission and license assignments.
Capabilities
| Capability | Support |
|---|---|
| Sync | Yes. Eight entity types and nine declared relationships. |
| Incremental sync | Users through a SystemModstamp marker. Other entities use full sync. |
| Account provisioning | Create, update, enable, disable and revoke users. Revoke deactivates the Salesforce user. |
| Grant writes | Add and remove eight existing kinds. Profile placement remains read-only. |
| Notifications | No. |
| Custom operations | Freeze, unfreeze and unlock a user's login. |
Authentication
| Option in Owlie | Choose it when | Ownership |
|---|---|---|
| OAuth 2.0 Authorization Code | An administrator can authorize an OAuth app interactively. | Customer-owned app. |
| OAuth 2.0 Client Credentials | A dedicated integration user runs the app without interactive sign-in. | Customer-owned app and integration user. |
| OAuth 2.0 JWT Bearer | Your app uses a signing certificate and an approved Salesforce user. | Customer-owned app and key pair. |
| OAuth 2.0 Username Password | You must retain an existing dedicated username-password integration. | Customer-owned app and user credentials. |
Salesforce recommends external client apps for new OAuth integrations. Creation of new connected apps is restricted as of Spring '26, but existing connected apps can continue to work. Salesforce discourages the username-password flow for new integrations.
Get credentials from Salesforce
All options need an OAuth app that can request API access. Give its execution or authorizing user API Enabled and only the object and field permissions needed for the features you turn on. A successful OAuth connection alone does not grant access to every setup object. Salesforce API permissions.
OAuth 2.0 Authorization Code
- In Salesforce, configure an external client app for the web server flow. Existing compatible connected apps can also be used.
- Set its callback URL to the URL Owlie shows during connection setup. Save its client ID and client secret.
- Allow the
apiscope for REST data access andrefresh_tokenfor renewal. These are Owlie's defaults. Theoffline_access,id,profileandemailscopes remain selectable if your app needs them, but Owlie's REST and refresh operations do not require them. Authorize with a user who has the necessary Salesforce permissions. If an existing connection lacks a refresh token after changing app scopes, reconnect to grant the updated consent.
OAuth 2.0 Client Credentials
- Enable the client credentials flow on the external client app and designate a dedicated integration user.
- Save the app's client ID and client secret. Give the integration user API access and permissions for the selected sync, provisioning and Grant operations.
OAuth 2.0 JWT Bearer
- Generate a signing key pair and upload its certificate to an app configured for the JWT bearer flow.
- Save the app's client ID, the Salesforce username that the app is approved to represent, and the private key. The connector requests
apiby default.
OAuth 2.0 Username Password
Use an existing app and dedicated Salesforce user for the username-password flow. Save the app's client ID and secret, username, password and any required security token. Salesforce recommends other flows when possible because this one sends the user's credentials to the token endpoint.
For managed writes, grant the execution user the relevant authority: Assign Permission Sets for permission set assignments, Manage Users for public group administration, and Manage Package Licenses for managed package licenses. Other object, field, setup and license permissions depend on your org and enabled operations.
Connect Salesforce in Owlie
| Field | Required | Format and example |
|---|---|---|
| API Version | No | Salesforce REST version, such as v67.0. |
| Login URL | No | HTTPS authorization root, such as https://login.salesforce.com or your My Domain. |
| Instance URL | No | HTTPS instance root before the token response supplies one. |
| Client ID | Each option | OAuth app consumer key. |
| Client Secret | Authorization Code, Client Credentials, Username Password | OAuth app consumer secret. |
| Scopes | Authorization Code, JWT Bearer | Requested OAuth scopes. |
| Salesforce Username | JWT Bearer, Username Password | Salesforce user to represent. |
| Private Key | JWT Bearer | Signing private key matching the app certificate. |
| Password | Username Password | Salesforce user's password. |
| Security Token | No | Append when the username-password flow requires it. |
Test connection calls /services/oauth2/userinfo. It checks the token and identity endpoint, not SOQL reads, user provisioning or Grant writes.
Entities
| Entity | In Salesforce | Identifier | Key attributes | Sync | Create | Update | Delete | Grants (as target) |
|---|---|---|---|---|---|---|---|---|
| User | User account | Id | Username, email, active state, profile, role | Yes | Yes | Yes | Yes | No |
| Profile | Profile | Id | Name | Yes | No | No | No | No |
| User Role | UserRole | Id | Name, developer name | Yes | No | No | No | assigned_role |
| Permission Set | PermissionSet | Id | Name | Yes | No | No | No | assigned_permission_set |
| Permission Set Group | PermissionSetGroup | Id | Developer name | Yes | No | No | No | assigned_permission_set_group, permission_set_in_group |
| Group | Group | Id | Name, type | Yes | No | No | No | member_of_group, nested_group_member |
| Permission Set License | PermissionSetLicense | Id | Developer name | Yes | No | No | No | assigned_permission_set_license |
| Package License | PackageLicense | Id | Namespace prefix | Yes | No | No | No | assigned_package_license |
Grant kinds
| Kind | Salesforce relationship | Principal → target | Add/remove | Qualifiers | Membership |
|---|---|---|---|---|---|
assigned_profile | User.ProfileId | User → profile | No | None | No |
assigned_role | User.UserRoleId | User → user role | Yes | None | No |
assigned_permission_set | PermissionSetAssignment | User → permission set | Yes | None | No |
assigned_permission_set_group | PermissionSetAssignment | User → permission set group | Yes | None | No |
permission_set_in_group | PermissionSetGroupComponent | Permission set → permission set group | Yes | None | No |
member_of_group | GroupMember | User → group | Yes | None | No |
nested_group_member | GroupMember | Group → group | Yes | None | No |
assigned_permission_set_license | PermissionSetLicenseAssign | User → permission set license | Yes | None | No |
assigned_package_license | UserPackageLicense | User → package license | Yes | None | No |
Owlie does not remove profile assignment as an isolated Grant because Salesforce requires a user profile. A role occupies one UserRoleId slot: adding a different role does not overwrite the current one. Remove the current role explicitly before adding another.
Grant writes use the Salesforce record Id for each user and target, not a name or email. Group membership targets a public group or queue. Nested membership starts with a public group. Owlie does not directly assign profile-owned permission sets or add them to permission set groups.
Provisioning behaviour and limits
The default profile uses the identity's email for Username and Email, maps first and last name, and sets a locale, language, time zone, encoding and short alias. Review those defaults and Salesforce's required user fields before enabling account creation.
Revoke deactivates the Salesforce user. It does not delete the record. Owlie removes managed Grants when the provisioning profile calls for it, then disables login. Salesforce does not allow user records to be deleted outright. Enable and disable update IsActive.
The connector follows Salesforce's Query More cursor for full sync. User incremental sync uses SystemModstamp, but a later full sync is still needed to detect deletions. API request limits and object availability depend on the Salesforce org and edition. Salesforce reports exceeded limits with REQUEST_LIMIT_EXCEEDED. See REST errors.
Changelog
Salesforce remains at connector version 1. Owlie shows its changelog in the integration catalog.