Commit ed0978eb authored by Aaron Bauman's avatar Aaron Bauman
Browse files

Issue #3138026: Fix validation on Salesforce Authorization Config form

parent 66b1c86b
Loading
Loading
Loading
Loading
+2 −0
Changes for modules/salesforce_jwt/src/Plugin/SalesforceAuthProvider/SalesforceJWTPlugin.php: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -144,6 +144,8 @@ class SalesforceJWTPlugin extends SalesforceAuthProviderPluginBase {
      return;
    }
    $this->setConfiguration($form_state->getValue('provider_settings'));
    // Force new credentials from form input, rather than storage.
    unset($this->credentials);
    try {
      // Bootstrap here by setting ID to provide a key to token storage.
      $this->id = $form_state->getValue('id');