[go: up one dir, main page]

Skip to content

This project is a sample app for salesforce server-to-server integration using OAuth2.0 JWT Bearer Flow.

Notifications You must be signed in to change notification settings

afraz-khan/salesforce-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

salesforce-server-to-server-integration

A startup for salesforce server-to-server integration using OAuth2.0 JWT Bearer Flow.

Features

Two queries are written in the code to represent the integration flow.

  • Fetch all ProductItems
  • Find stock/quantity of a single ProductItem

Quick setup

  • Setup a connected app in your salesforce org using this method here.
  • Setup some ProductItems in your salesforce org.
  • Set the environment variables given in src/ConnectAppClient.js file for your org.
  • Deploy the app to the hosting service you have.
  • Queries will start fetching data from your org.
  • For demonstration use the below section of the web page. demonstration
  • You can extend the code for your usecase easily.

Main libs

  • jsforce Client for salesforce connected app operations.
  • sf-jwt-token An implementation of Salesforce OAuth 2.0 JWT bearer token flow.

Demo: https://salesforcejwt.herokuapp.com/

About

This project is a sample app for salesforce server-to-server integration using OAuth2.0 JWT Bearer Flow.

Topics

Resources

Stars

Watchers

Forks