无法在OS X上获取Magento Rest Client的OAuth令牌

编程入门 行业动态 更新时间:2024-10-25 18:30:53
本文介绍了无法在OS X上获取Magento Rest Client的OAuth令牌的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在使用Magento 1.9.1.0版,并尝试通过OAuth集成使用Magento Rest API.我有消费者密钥和消费者秘密.现在想获取用于Rest API的OAuth令牌.我遵循了 www.magentocommerce/api/rest/authentication/oauth_authentication.html

I am using Magento version 1.9.1.0 and trying to use Magento Rest APIs using OAuth Integration. I have consumer key and consumer secret. Now want to get OAuth token for Rest APIs usage. I have followed www.magentocommerce/api/rest/authentication/oauth_authentication.html

在此,我们需要oauth_signature和时间戳,这是在管理面板上创建使用者时无法获得的.现在我们如何只获得消费者密钥和消费者秘密的OAuth令牌?

In this , we needed oauth_signature and timestamp which we doesn't get when we create consumer on admin panel . Now how can we get OAuth token with only consumer key and consumer secret ?

推荐答案

请检查.htaccess文件是否已重写

please check that .htaccess file rewrite

RewriteRule ^api/rest api.php?type=rest [QSA,L]

生效.

检查您使用的是Apache(不是nginx或其他不支持.htaccess的Web服务器)

Check you use Apache (not nginx or other Webserver that doesn't support .htaccess)

更多推荐

无法在OS X上获取Magento Rest Client的OAuth令牌

本文发布于:2023-10-29 09:43:30,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1539368.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:令牌   Magento   OS   Rest   OAuth

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!