salesforce-react-integration | Sample integration project between Salesforce | Runtime Evironment library
kandi X-RAY | salesforce-react-integration Summary
kandi X-RAY | salesforce-react-integration Summary
Sample integration project between Salesforce and a React.js application.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Get a session object .
- Resume the connection
salesforce-react-integration Key Features
salesforce-react-integration Examples and Code Snippets
Community Discussions
Trending Discussions on salesforce-react-integration
QUESTION
I am using this sample app https://github.com/pozil/salesforce-react-integration to create a React app connected to Salesforce.
I have created a Connected app inside my Salesforce, enabled OAuth and added a callback Uri that is identical to the one in the sample app. I have also replaced the consumer key and secret in the sample app for the ones in my SF Connected app, yet after entering and submitting my Salesforce login details, net::ERR_CONNECTION_REFUSED is being thrown on the http://localhost:3000/auth/callback.
Any solution would be appreciated.
...ANSWER
Answered 2017-Dec-13 at 18:33Connection refused could be a few things. Have you considered Login IP ranges etc?
I would recommend reviewing all login and security configurations.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install salesforce-react-integration
Create a Connected App in Salesforce.
Create a .env file in the root directory with this content (make sure to replace the values): domain='https://login.salesforce.com' callbackUrl='http://localhost:8080/auth/callback' consumerKey='YOUR_CLIENT_KEY' consumerSecret='YOUR_CLIENT_SECRET' apiVersion='48.0' isHttps='false' sessionSecretKey='A_SECRET_STRING'
Run npm run build to build the app.
Run npm start to start the app.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page