Skip to content

Commit 51f4238

Browse files
mergify[bot]mmahacekshmsrvishaangelova
authored
Document OAuth token limitations for Salesforce (#48299) (#48416)
* Document OAuth token limitations for Salesforce Added note about OAuth token limitations for Salesforce integration. * Apply suggestions from code review * Apply suggestions from code review --------- (cherry picked from commit eff88ab) Co-authored-by: mmahacek <mark.mahacek@elastic.co> Co-authored-by: subham sarkar <subham.sarkar@elastic.co> Co-authored-by: subham sarkar <sarkar.subhams2@gmail.com> Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com>
1 parent 6d1ce28 commit 51f4238

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docs/reference/filebeat/filebeat-input-salesforce.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,15 @@ filebeat.inputs:
8585
8686
In order to use this integration, users need to create a new Salesforce Application using OAuth. Follow the steps below to create a connected application in Salesforce:
8787
88+
::::{note}
89+
**OAuth token limit**
90+
91+
Salesforce enforces a limit of [5 concurrent access tokens](https://help.salesforce.com/s/articleView?id=xcloud.remoteaccess_request_manage.htm&type=5) per user, per connected app. If you configure more than 5 inputs using the same connected app credentials, generating a new token will automatically revoke the oldest one, causing errors.
92+
93+
To avoid this, you must distribute your inputs across multiple connected apps. We recommend assigning a maximum of 5 inputs to each connected app to ensure stability.
94+
95+
::::
96+
8897
1. Login to [Salesforce](https://login.salesforce.com/) with the same user credentials that the user wants to collect data with.
8998
2. Click on Setup on the top right menu bar. On the Setup page, search for `App Manager` in the `Search Setup` search box at the top of the page, then select `App Manager`.
9099
3. Click *New Connected App*.

0 commit comments

Comments
 (0)