Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with Salesforce Integration despite correct configuration #2098

Open
alexanderbuergin opened this issue Oct 22, 2024 · 2 comments
Open

Comments

@alexanderbuergin
Copy link

alexanderbuergin commented Oct 22, 2024

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
Copy link
Member

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 [email protected] (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
Copy link

Have same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants