Salesforce OAuth User-Agent not working

Created on 26 March 2021, almost 4 years ago
Updated 31 January 2024, 11 months ago

Problem/Motivation

Adding Salesforce Authorization Config with Salesforce OAuth User-Agent as Auth Provider generates Error: Call to a member function getKeyValue() on null in Drupal\salesforce_jwt\Plugin\SalesforceAuthProvider\SalesforceJWTPlugin->generateAssertion() (line 197 of /app/web/modules/contrib/salesforce/modules/salesforce_jwt/src/Plugin/SalesforceAuthProvider/SalesforceJWTPlugin.php)

I have an Authenticated AES (Real AES) encryption profile created. I also have keys of type Encryption and Authentication also created.

Steps to reproduce

Navigate to admin/config/salesforce/authorize/add
- select Salesforce OAuth User-Agent, enter Salesforce consumer key, Salesforce consumer secret and login url. Then save!

πŸ› Bug report
Status

Closed: outdated

Version

4.2

Component

salesforce_jwt.module

Created by

πŸ‡ΊπŸ‡ΈUnited States mwebaze

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States AaronBauman Philadelphia

    I'm doing some cleanup on unsupported branches.
    Please re-open this issue and update the version to 5.0.x-dev if this issue is still applicable to the latest release.

Production build 0.71.5 2024