oauth2-salesforce icon indicating copy to clipboard operation
oauth2-salesforce copied to clipboard

Salesforce - Social Studio API

Open edossantos opened this issue 8 years ago • 1 comments

It's possible to use this library for the Salesforces API, I'm trying to authenticate using

`POST /oauth/token HTTP/1.1 Host: api.socialstudio.radian6.com Cache-Control: no-cache Content-Type: application/x-www-form-urlencoded

grant_type=password&client_id={clientKey}&client_secret={clientSecret}&username={username}&password={password}`

Thank you advance.

edossantos avatar Aug 10 '16 21:08 edossantos

I am not sure. Have you tried? You can set a custom domain when configuring the client (https://github.com/stevenmaguire/oauth2-salesforce#authorization-code-flow). If the authorization paths are different than the ones configured in this package, I would suggest creating a local child class that extends this one as a proof of concept. If, in fact it is possible, I am happy to consider modifying this package to accommodate this new use case; I'd like to understand its feasibility first.

stevenmaguire avatar Aug 10 '16 22:08 stevenmaguire