user hasn't approved this consumer

Created on 28 October 2019, about 5 years ago
Updated 18 March 2024, 9 months ago

Hi, I'm trying to authenticate with JWT, but I get the following response when I try to add an authorization config:

Client error: `POST https://eurogroupforanimals.my.salesforce.com/services/oauth2/token` resulted in a `400 Bad Request` response: {"error":"invalid_grant","error_description":"user hasn't approved this consumer"}

When I try login.salesforce.com instead of eurogroupforanimals.my.salesforce.com I get the error "wrong client id".

I followed the configuration procedures on https://www.drupal.org/node/3035150 β†’ and https://www.drupal.org/docs/8/modules/salesforce-suite/set-up-a-jwt-auth... β†’ to the letter, so I'm not sure where it could be going wrong.

πŸ› Bug report
Status

Active

Version

5.0

Component

salesforce_jwt.module

Created by

πŸ‡§πŸ‡ͺBelgium stevendeleus

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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.

Production build 0.71.5 2024