Articles in this section

Set up a connection to Salesforce with JWT bearer token authentication

Salesforce documentation: API guide, Authentication page

salesforcejwt.png
  1. Name (required): Name the connection.
  2. Connection type (required): The form will automatically select Salesforce.
  3. Account type (required): Select Production or Sandbox.
  4. Oauth2 flow type (required): Select JWT bearer token chiefly for server-to-server API integration. This flow uses a certificate to sign the JWT request and doesn’t require explicit user interaction. (Refresh token connections are described separately.)
  5. Username (required): The username is sent to registered mail after the creation of Salesforce account.
  6. Borrow concurrency from (optional): Select another connection from the list....
NOTE: Selecting another app changes form...
  1. Concurrency level (optional): Up to 25 allowed....
  2. Click Save & authorize. The following page displays:
  1. Enter your registered Salesforce account username and password, and click Login to establish the connection.
Read more about this connector:
Was this article helpful?
0 out of 1 found this helpful

Comments

2 comments
Date Votes
  • I previously configured this with a Refresh token and have been running for a couple months; now I am changing it to be a JWT Token. When I click Save & Authorize, it gives me an error:

    /!\ Expected field: salesforce.privateKey or salesforce.publicKey to be present.

    0
  • Tom, It appears the problem is even bigger than I anticipated. This article is referenced by the Integration App, but according to what I learned from Sanjit in the Integration App Group class yesterday, a JWT Bearer token is not a viable option for the connection. One primary reason he gave is that the JWT Bearer token doesn't support the Online status. I have spent a significant amount of time on 3 occasions trying to get this to work because it looked like a better, more robust option for the connection.  Will you please add text right up front in this article to help prevent other people from making the same mistake?

    Thank you,

    Kenneth

    (and if I'm wrong, please let me know. I would love to have my system set up as good as possible).

    0

Please sign in to leave a comment.