测试号的网页授权接口已经配置了局域网ip地址,redirect_uri可以是ip地址吗?

发布于 8 年前作者 maochao4001 次浏览最后编辑 8 年前来自 issues

测试号的网页授权接口已经配置了局域网ip地址,没有带协议。

地址为`https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx6164092050941445&response_type=code&scope=snsapi_base&redirect_uri=${encodeURIComponent(‘https://192.168.0.113:6767/dashboard’)}#wechat_redirect`,redirect_uri使用的ip地址。在小程序的webview上打开一直是显示‘redirect_uri参数错误’,找不到原因。

1 回复
gaojun
gaojun1 楼6 年前

用个花生壳吧