1

我尝试使用Chrome 扩展 OAuth Library向 Salesforce API 授权,但是当我使用 oauth.sendSignedRequest() 方法发送签名请求时,我从 Salesforce 收到以下响应:

<response><error>LOGIN_OAUTH_INVALID_DSIG</error><message>Failed: Signature Invalid</message></response>

关于可能导致这种情况的任何想法?

4

2 回答 2

0

你能在这里发布你的 oauth 对象吗?

我打赌你正在使用'consumer_key': 'anonymous', 'consumer_secret': 'anonymous',. 您需要检查天气 Salesforce 是否接受匿名用户密钥和秘密。

于 2012-02-13T13:31:17.093 回答
0

我最终创建了适用于 Salesforce 的 Chrome 扩展的 OAuth 2.0 库。如果您想获得图书馆的副本,请联系我。

于 2012-02-13T17:43:58.493 回答