【发布时间】:2014-06-02 11:02:12
【问题描述】:
我正在尝试通过客户帐户访问产品。为此,我使用来自oauth_customer.php magento 文档页面的示例代码。 Everything is okay and working fine; but the thing I am facing is that whenever I login as customer after successful login page redirects to the Customer Dashboard instead of redirecting to the Authentication URL. 为此,我必须再次手动传递 URL 链接,因此它会重定向到身份验证页面,并在身份验证后显示我想要的任何内容。
我还尝试从链接中的示例代码扩展帐户控制器:
https://docs.google.com/file/d/0BzCDl5a0zmSVdWdFMG9jMTB1TXM/edit?pli=1
但仍然没有运气。有没有像我们在管理员身份验证端一样在登录后再次创建回调 URL?
【问题讨论】:
标签: api magento authentication redirect