Oauth 错误 invalid_request:redirect_uri 未列入白名单 [英] Oauth error invalid_request: The redirect_uri is not whitelisted

查看:77
本文介绍了Oauth 错误 invalid_request:redirect_uri 未列入白名单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试基于此

package.json :

server.js:

错误:

解决方案

是的,您的回调 URL 存在问题,您必须在创建 shopify 应用的 shopify 合作伙伴帐户中定义应用 URL 和回调 URL

Shopify 合作伙伴帐户

您必须按照以下操作

打开应用程序>>你的应用 >>应用程序设置 >>插入网址(白名单重定向网址)

一旦您将 URL 列入白名单,问题就解决了

I'm trying to develop an app with React and Node based on this documentation:

I followed the tutorial step by step but I'm stuck in testing the app with this URL format:

I replaced the ngrok address and my shopify store but I get the 404 error (This page could not be found.)

I found the same question in this link. So I renamed the .env to process.env but I still have the same problem.

Here is the .env file:

package.json :

server.js :

The error :

解决方案

Yes there is an issue with your callback URL you have to define your app URL and callback URL in your shopify partner account where you create shopify app

Shopify partner account

You have to do as follow

open apps >> yourapp >> app setup >> Insert In URLs(Whitelisted redirection URL(s))

Once you whitelist your URL there then the issue is solve

这篇关于Oauth 错误 invalid_request:redirect_uri 未列入白名单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆