7digital API:OAuth身份验证错误:签名无效

时间:2013-11-01 10:23:21

标签: php .net api oauth 7digital

我的身份验证有问题,我正在执行以下步骤:

1。我第一次使用此网站网址获取oauth_signature,其中包含以下详细信息: http://7digital.github.io/oauth-reference-page/

网址: https://api.7digital.com/1.2/oauth/requesttoken

消费者密钥: MY_KEY

消费者秘密: MY_SECRET_KEY

nonce: 814629426

* *时间戳: 1383291284

正文编码:** application / json

他们发送请求获取7digital API的oauth_token: https://api.7digital.com/1.2/oauth/requesttoken?oauth_consumer_key=MY_KEY&oauth_nonce=184615245&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1383144733&oauth_version=1.0&oauth_signature=sJ%2B%2BPq2i9LfC1xGG1EHx2DrTBxg%3D

此请求获取oauth_token和oauth_token_secret。

2。我需要使用客户端密钥授权oauth_token:

https://account.7digital.com/7dysvzdxkkmf/oauth/authorise?oauth_token=7EP6KGD 如果我有一个7digital帐户,请求会响应页面注册或登录。

第3。我需要访问令牌:

https://api.7digital.com/1.2/oauth/accesstoken?oauth_token=JXLDXZY&oauth_consumer_key=MY_KEY&oauth_signature=uJ8jUSre5%2Fe5qiJsA5jeN54143M%3D&oauth_timestamp=1383204749&oauth_nonce=558206579

但是在第3步我收到错误消息: OAuth身份验证错误:签名无效。

我的代码出了什么问题?

0 个答案:

没有答案
相关问题