Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
enhance documentatin
adilson4552be52b104
diff --git a/docs/images/app-connections/salesforce/created-external-app.png b/docs/images/app-connections/salesforce/created-external-app.pngnew file mode 100644index 0000000000..d7f6eb086cBinary files /dev/null and b/docs/images/app-connections/salesforce/created-external-app.png differdiff --git a/docs/images/app-connections/salesforce/gear-icon.png b/docs/images/app-connections/salesforce/gear-icon.pngnew file mode 100644index 0000000000..61f66ed16fBinary files /dev/null and b/docs/images/app-connections/salesforce/gear-icon.png differdiff --git a/docs/images/app-connections/salesforce/oauth-scopes.png b/docs/images/app-connections/salesforce/oauth-scopes.pngindex 1db225716c..0731dc9a5e 100644Binary files a/docs/images/app-connections/salesforce/oauth-scopes.png and b/docs/images/app-connections/salesforce/oauth-scopes.png differdiff --git a/docs/images/app-connections/salesforce/open-setup.png b/docs/images/app-connections/salesforce/open-setup.pngnew file mode 100644index 0000000000..80e675e31dBinary files /dev/null and b/docs/images/app-connections/salesforce/open-setup.png differdiff --git a/docs/images/app-connections/salesforce/policies-tab.png b/docs/images/app-connections/salesforce/policies-tab.pngnew file mode 100644index 0000000000..58acc2c9b5Binary files /dev/null and b/docs/images/app-connections/salesforce/policies-tab.png differdiff --git a/docs/integrations/app-connections/salesforce.mdx b/docs/integrations/app-connections/salesforce.mdxindex e5f2c3cd0b..d1b7ce21cc 100644--- a/docs/integrations/app-connections/salesforce.mdx+++ b/docs/integrations/app-connections/salesforce.mdx@@ -8,6 +8,15 @@ Infisical supports the OAuth 2.0 [Client Credentials](https://help.salesforce.co## Configure a Connected App in Salesforce<Steps>+ <Step title="Open Settings">+ In the top-right corner, click the gear icon.++ ++ Click the **Setup** option.+ + </Step>+<Step title="Create a Connected App">In Salesforce Setup, search for **External Client App Manager** and select it from the results.@@ -21,8 +30,11 @@ Infisical supports the OAuth 2.0 [Client Credentials](https://help.salesforce.co<Step title="Enable OAuth Settings">Under **API (Enable OAuth Settings)**:- Check **Enable OAuth**.- - Provide a callback URL (this is not used for the Client Credentials flow).- - Add the OAuth scopes your integration requires. For secret rotation, you must select **Manage user data via APIs (api)** and **Full access (full)**.+ - Provide a callback URL.+ <Note>+ The callback URL is only used by Salesforce's OAuth Web Server Flow. Since this External Client App is used solely to rotate secrets via the Client Credentials Flow, the callback URL is never invoked — any valid URL (e.g. `https://localhost`) works.+ </Note>+ - Add the OAuth scopes your integration requires. For secret rotation, you must select **Manage user data via APIs (api)**.- Check **Enable Client Credentials Flow** and **Enable Token Exchange Flow** (along with the sub-option **Require secret for Token Exchange Flow**).@@ -33,7 +45,15 @@ Infisical supports the OAuth 2.0 [Client Credentials](https://help.salesforce.co</Step><Step title="Configure the Policies">- Open the Connected App's **Manage** page and select the **Policies** tab. Click **Edit**, check **Enable Client Credentials Flow**, and provide a username under **Run As (Username)** to specify which user the flow runs as.+ Go back to the **External Client App Manager** page and select the External Client App you just created. To do this, search again for **External Client App Manager**.++ ++ Click the app you just created, select the **Policies** tab, and click **Edit**.++ ++ Under the **OAuth Policies** section, check **Enable Client Credentials Flow** and provide a username under **Run As (Username)** to specify which user the flow runs as.</Step><Step title="Copy the Consumer Key and Consumer Secret">@@ -44,7 +64,7 @@ Infisical supports the OAuth 2.0 [Client Credentials](https://help.salesforce.co</Step><Step title="Enable access to External Client App Consumer">- Under **External Client App Settings**, enable **Allow access to External Client App consumer secrets via REST API**.+ Search again for **External Client Apps** and click the **Settings** sub-option. Under **External Client App Settings**, enable **Allow access to External Client App consumer secrets via REST API**.</Step><Step title="Identify Your My Domain URL">