Setting up Force.com
Create a Force.com account
Force.com developer accounts are free. Sign up here
Create an OAuth client
- Log into your developer account and go to remote access under setup -> develop -> remote access. Direct Link
- Click New
- Set callback url to the base URI of your app plus
/_auth
e.g.https://www.mydomain.com/_auth
. This must be a secure URL (https), unless it’s a localhost URL, e.g.http://localhost:9000/_auth
- Set a descriptive name. This will be shown to users who authenticate
- Set your contact email and click Save
- On the result page, the Consumer Key is your OAuth key and the Consumer Secret is your OAuth secret.