Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 645 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 645 Bytes

node-sf-oauth-rest

Welcome to MyRepo. This repository will help you to implement Salesforce OAuth2 with your NodeJS application. This repo uses JSForce, Express library for authentication. Here I have provided the code to call your APEX web service controller into the Node and fetch data from your Salesforce object. Thanks to my brother for his support in implementing this code.

Method

To implement this code you have to change the Client secret and Client consumer key in the app.js file. If you're using Heroku then you can put these credentials into your Heroku App Config Variables.

If you have any error then please let me know.