duanju9104 2018-07-12 10:34
浏览 88

#PHP,Laravel Oauth错误invalid_request:redirect_uri未列入白名单

I've been stuck with this for a few days. I know that it's probably the most asked question about shopify Oauth.

To begin with, I got an shopify app to work with, the client asked me to make some modifications and I am facing issues with local environment setup.

I am using Ngrok for tunneling my connections.

Here is the redirect_uri parameter:

&redirect_uri=https%3A%2F%2Ff7311e59.ngrok.io%2Fauth

and full request url:

https://{shop.domain}.com/admin/oauth/authorize?client_id=eb5bba2f0a8474bad5fd687e055056af&scope=read_products,write_products,read_themes,write_themes&redirect_uri=https%3A%2F%2Ff7311e59.ngrok.io%2Fauth

and here are all whitelisted redirection URL's in app settings

https://f7311e59.ngrok.io/auth
https://f7311e59.ngrok.io/auth/
http://f7311e59.ngrok.io/auth
http://f7311e59.ngrok.io/auth/

Hopefully I'm not blind, because i don't see any mismatches in those urls

&redirect_uri=https%3A%2F%2Ff7311e59.ngrok.io%2Fauth

https://f7311e59.ngrok.io/auth

I am wondering if this could be some specific aplication architecture issue, also I am new at shopify app's developement so maybe there's something I've missed. Thanks

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 ubuntu虚拟机打包apk错误
    • ¥199 rust编程架构设计的方案 有偿
    • ¥15 回答4f系统的像差计算
    • ¥15 java如何提取出pdf里的文字?
    • ¥100 求三轴之间相互配合画圆以及直线的算法
    • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
    • ¥15 名为“Product”的列已属于此 DataTable
    • ¥15 安卓adb backup备份应用数据失败
    • ¥15 eclipse运行项目时遇到的问题
    • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发