Skip to main content

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​

CapabilitySupport
SyncYes. Eight entity types and nine declared relationships.
Incremental syncUsers through a SystemModstamp marker. Other entities use full sync.
Account provisioningCreate, update, enable, disable and revoke users. Revoke deactivates the Salesforce user.
Grant writesAdd and remove eight existing kinds. Profile placement remains read-only.
NotificationsNo.
Custom operationsFreeze, unfreeze and unlock a user's login.

Authentication​

Option in OwlieChoose it whenOwnership
OAuth 2.0 Authorization CodeAn administrator can authorize an OAuth app interactively.Customer-owned app.
OAuth 2.0 Client CredentialsA dedicated integration user runs the app without interactive sign-in.Customer-owned app and integration user.
OAuth 2.0 JWT BearerYour app uses a signing certificate and an approved Salesforce user.Customer-owned app and key pair.
OAuth 2.0 Username PasswordYou 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​

  1. In Salesforce, configure an external client app for the web server flow. Existing compatible connected apps can also be used.
  2. Set its callback URL to the URL Owlie shows during connection setup. Save its client ID and client secret.
  3. Allow the api scope for REST data access and refresh_token for renewal. These are Owlie's defaults. The offline_access, id, profile and email scopes 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​

  1. Enable the client credentials flow on the external client app and designate a dedicated integration user.
  2. 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​

  1. Generate a signing key pair and upload its certificate to an app configured for the JWT bearer flow.
  2. Save the app's client ID, the Salesforce username that the app is approved to represent, and the private key. The connector requests api by 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​

FieldRequiredFormat and example
API VersionNoSalesforce REST version, such as v67.0.
Login URLNoHTTPS authorization root, such as https://login.salesforce.com or your My Domain.
Instance URLNoHTTPS instance root before the token response supplies one.
Client IDEach optionOAuth app consumer key.
Client SecretAuthorization Code, Client Credentials, Username PasswordOAuth app consumer secret.
ScopesAuthorization Code, JWT BearerRequested OAuth scopes.
Salesforce UsernameJWT Bearer, Username PasswordSalesforce user to represent.
Private KeyJWT BearerSigning private key matching the app certificate.
PasswordUsername PasswordSalesforce user's password.
Security TokenNoAppend 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​

EntityIn SalesforceIdentifierKey attributesSyncCreateUpdateDeleteGrants (as target)
UserUser accountIdUsername, email, active state, profile, roleYesYesYesYesNo
ProfileProfileIdNameYesNoNoNoNo
User RoleUserRoleIdName, developer nameYesNoNoNoassigned_role
Permission SetPermissionSetIdNameYesNoNoNoassigned_permission_set
Permission Set GroupPermissionSetGroupIdDeveloper nameYesNoNoNoassigned_permission_set_group, permission_set_in_group
GroupGroupIdName, typeYesNoNoNomember_of_group, nested_group_member
Permission Set LicensePermissionSetLicenseIdDeveloper nameYesNoNoNoassigned_permission_set_license
Package LicensePackageLicenseIdNamespace prefixYesNoNoNoassigned_package_license

Grant kinds​

KindSalesforce relationshipPrincipal → targetAdd/removeQualifiersMembership
assigned_profileUser.ProfileIdUser → profileNoNoneNo
assigned_roleUser.UserRoleIdUser → user roleYesNoneNo
assigned_permission_setPermissionSetAssignmentUser → permission setYesNoneNo
assigned_permission_set_groupPermissionSetAssignmentUser → permission set groupYesNoneNo
permission_set_in_groupPermissionSetGroupComponentPermission set → permission set groupYesNoneNo
member_of_groupGroupMemberUser → groupYesNoneNo
nested_group_memberGroupMemberGroup → groupYesNoneNo
assigned_permission_set_licensePermissionSetLicenseAssignUser → permission set licenseYesNoneNo
assigned_package_licenseUserPackageLicenseUser → package licenseYesNoneNo

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.