Page 1 of 1

OAuth via HTTP Post?

Posted: Wed Dec 21, 2016 11:46 pm
by phando
Hey All,
Can someone please walk me through making an HTTPS POST? I have been over the example code several times, but I don't think uploading a certificate is needed in my case. I would like to initiate OAuth to a Salesforce dev org via an HTTPS POST with the following info.

grant_type Set this to password.
client_id Your application's client identifier.
client_secret Your application's client secret.
username The API user's Salesforce.com username, of the form user@example.com.
password The API user's Salesforce.com password. If the client's IP address has not been whitelisted in your org, you must concatenate the security token with the password.

Specifically: https://developer.salesforce.com/page/D ... rd_Flow.29

If you have any experience or examples in this area it would be great to compare notes.