riserice78/playAppRest
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
playAppRest
=====================================
This is a template Play 2.0 application for integrating with Salesforce via OAuth.
After authorization, it retrieves the list of Accounts in your org.
To use, add the following to your conf/application.conf file:
my.clientId = <Consumer Key as defined in your Remote Access Application settings>
my.clientSecret = <Consumer Secret as defined in your Remote Access Application settings>
my.callbackUrl = <Callback URL as defined in your Remote Access Application settings>
example: http://localhost:9000/callbackMethod
my.callbackUrlLogout = <Your URL>/logout
my.loginHost = "https://login.salesforce.com"
A demo can be found at http://stark-oasis-8972.herokuapp.com