OAuth lib for Chrome Extensions and Salesforce API
Question
I'm try to authorize to Salesforce APIs using the Chrome Extension OAuth Library, but I get the following response from Salesforce when I send a signed request using oauth.sendSignedRequest() method:
<response><error>LOGIN_OAUTH_INVALID_DSIG</error><message>Failed: Signature Invalid</message></response>
Any thoughts on what could be causing this?
La solution 2
I ended up creating my OAuth 2.0 Library for Chrome Extension that works fine with Salesforce. Ping me if you would like to get a copy of the library.
Autres conseils
Can you post your oauth object here.
I bet you are using 'consumer_key': 'anonymous',
'consumer_secret': 'anonymous',
. You need to check weather Salesforce accepts consumer key and secret as anonymous or not.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow