Error with Salesforce Integration despite correct configuration
Opened this issue · 2 comments
alexanderbuergin commented
Describe the bug
ello Verbb Team,
We’ve been trying to use the Formie plugin in CraftCMS to connect to Salesforce, but we are encountering issues despite verifying the configuration multiple times according to the provided instructions. The following error occurs:
Error message
Unable to process callback for “salesforce”: “Invalid callback state. State is mismatched., invalid_request, missing required code challenge”
/home/gudajifa/public_html/site_dev/vendor/verbb/auth/src/base/OAuthProviderTrait.php:192
Steps to reproduce
- Configure Salesforce integration according to the Formie documentation (checked multiple times).
- Attempt to connect to the Salesforce API using both OAuth and OAuth 2.0.
- The above error appears after the connection attempt.
Additional Information
- We’re uncertain if this is a bug with Formie or an issue on Salesforce’s end, as this is our first time using Formie to integrate with Salesforce.
- Some users in the community have reported similar issues, suggesting that it might be a Salesforce configuration problem. However, we’ve verified that everything, including the redirect URI, is set up correctly.
Form settings
Non
Craft CMS version
5.4.8
Plugin version
3.0.9
Multi-site?
Yes
engram-design commented
So this is a generic error that basically means the OAuth connection can't be made. Typically, this is a misconfigured Salesforce app.
Are you able to send through screenshots of your Salesforce app to support@verbb.io
(or here, if you're happy to redact any sensitive information). There's multiple screens, so we'll want to check the IP enforcement, scopes, etc.
umkasanki commented
Have same issue