Set up a JWT Authentication provider

Last updated on
10 November 2022

Updating your Salesforce integration to use JWT OAuth in 4.0 will provide numerous advantages:

  • Server-to-server auth: use your keypair to provision a new access token any time, without any browser interactivity.
  • Configuration management: no more problems with sandbox versus live configurations, or multi-sandbox configurations.
  • Multiple endpoints: pluggable authentication unlocks potential for multiple salesforce connections from the same Drupal site.

This guide walks through connecting your Drupal site to Salesforce by adding a new JWT OAuth authentication provider.

  1. Create a new Key
  2. Add a Salesforce JWT Provider
  3. Go back to admin/config/salesforce/authorize, and assign your new JWT OAuth provider as the default.

Help improve this page

Page status: No known problems

You can: