【发布时间】:2016-07-14 00:01:23
【问题描述】:
我必须使用 Magento Web API 的 OAuth 。我创建了一个带有网络面板的消费者,并且我有消费者密钥和消费者密钥。现在我必须找到访问令牌。所以我参考了一些材料并开始运行以下命令
oauth \
--verbose \
--query-string \
--consumer-key c9c60d4aaf670c86acee7e93bb776e45 \
--consumer-secret 0a0b845eb7507de84c63740b15561568 \
--access-token-url http://localhost/magento/oauth/token \
--authorize-url http://localhost/magento/oauth/authorize \
--request-token-url http://localhost/magento/oauth/initiate \
authorize
回应来了
服务器似乎支持 OAuth 1.0a;赋能支持。 请访问此网址进行授权: http://localhost/magento/oauth/authorize?oauth_token=6a57c2e2d3f9883a94bfd2087dd95a89 请输入SP提供的验证码(oauth_verifier):
现在我不知道在哪里可以找到验证码以及如何使用它。
帮我解决这个问题,。在此先感谢:)
【问题讨论】: