kevinohara80 / nforce

nforce is a node.js salesforce REST API wrapper for force.com, database.com, and salesforce.com
MIT License
474 stars 167 forks source link

Support user-agent flow #70

Closed kevinohara80 closed 10 years ago

kevinohara80 commented 10 years ago

Right now nforce supports web-server and username/password flows. User-agent is currently not possible. Several things need to be changed.

  1. Remove the dependency on the clientSecret for user-agent since it is not needed
  2. getAuthUri needs to generate the proper redirect for user-agent

https://help.salesforce.com/HTViewHelpDoc?id=remoteaccess_authenticate.htm

kevinohara80 commented 10 years ago

Merged and in 0.9.1