[9.2](backport #43933) x-pack/filebeat/input/salesforce: Add optional token_url support for JWT Bearer Flow authentication#48470
[9.2](backport #43933) x-pack/filebeat/input/salesforce: Add optional token_url support for JWT Bearer Flow authentication#48470mergify[bot] wants to merge 8 commits into9.2from
token_url support for JWT Bearer Flow authentication#48470Conversation
|
Cherry-pick of 00e189e has failed: To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
🤖 GitHub commentsJust comment with:
|
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
|
This pull request is now in conflicts. Could you fix it? 🙏 |
|
This pull request has not been merged yet. Could you please review and merge it @shmsr? 🙏 |
Resolve merge conflicts: - go.mod: Keep newer go-sfdc for token_url feature, keep mito v1.22.1 from 9.2 - go.sum: Update mito checksum to v1.22.1 - NOTICE.txt: Update mito version reference to v1.22.1
|
This pull request has not been merged yet. Could you please review and merge it @shmsr? 🙏 |
|
This pull request has not been merged yet. Could you please review and merge it @shmsr? 🙏 |
|
This pull request has not been merged yet. Could you please review and merge it @shmsr? 🙏 |
|
This pull request has not been merged yet. Could you please review and merge it @shmsr? 🙏 |
Proposed commit message
This PR adds optional support for a separate
token_urlconfiguration in the Salesforce input's JWT Bearer Flow authentication.Currently, when using JWT authentication in the Salesforce integration, the
urlconfiguration is used for both:aud) in the JWTHowever, some users have custom Salesforce domains or have disabled logins for the default endpoints (
https://login.salesforce.comorhttps://test.salesforce.com). In these cases, the audience URL and the token endpoint URL need to be different.The new optional configuration is:
Checklist
stresstest.shscript to run them under stress conditions and race detector to verify their stability../changelog/fragmentsusing the changelog tool.Related issues
This is an automatic backport of pull request x-pack/filebeat/input/salesforce: Add optional
token_urlsupport for JWT Bearer Flow authentication #43933 done by Mergify.