No description, website, or topics provided.
Latest commit 2fcabea Jul 11, 2012 @chrismatthieu chrismatthieu initial commit
Failed to load latest commit information.

Chatter OAuth Example in Node.JS

This is a simple example of a Salesforce / Chatter OAuth application written in Node.JS. Here are the Salesforce / Chatter OAuth docs:


  1. Ask your Salesforce/Chatter administrator to create an application for you in They will need for you to provide a callback URL and they will provide you with client id and a client secret code which you will need to enter into server.js

  2. Unless you have an accessible domain or IP address that supports SSL that you can use to test your Salesforce callbacks, you will need to use a tunneling service like to route the callback request to your localhost. Use this domain in your Salesforce app configuration settings such as

  3. Install the express and request node.js modules by running npm install

Getting Started

  1. Run Showoff on port 4567 to match your server.js port such as show -b 4567

  2. Run the node.js app with node server.js

  3. Open your browser to and you will be asked to authenticate using Bechtel SSO and then you will receive a JSON response with your Salesforce/Chatter access_token!