公众号开发网页授权redirect_uri 参数错误?
发布于 4 年前 作者 tmo 4960 次浏览 来自 官方Issues

我们是使用开放平台授权模式来做公众号网页授权

开放平台appid:wxb31f572daa1a7d4b

公众号appid:wxcc2250d4a9c15416

我们已经做了好几套了,这个是另外一套的正常可使用授权链接:https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx9cad6ff40a1c0002&redirect_uri=https%3A%2F%2Fwww.yunxinghd.com&response_type=code&scope=snsapi_userinfo&state=state&component_appid=wx05ceb9077ee2d18e#wechat_redirect

这个是报错的链接:https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxcc2250d4a9c15416&redirect_uri=https%3A%2F%2Faugust.yunxinghd.com&response_type=code&scope=snsapi_userinfo&state=state&component_appid=wxb31f572daa1a7d4b#wechat_redirect

配置的授权回调链接是:august.yunxinghd.com

抓了两天头发了,实在没找到问题所在。求大神解答

3 回复

你好,检查下appid等参数是否正确,检查下授权回调地址与后台配置是否正确等,请自查。https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage_authorization.html

这个看起来就是某处配置不对,照着文档一步一步核对吧,别跳过任何地方。

切换了其他的正常使用的公众号过来也是这个错误,目前排除了公众号的问题

回到顶部