登录提示:Scope 参数错误或没有 Scope 权限
排查方案:
1:使用的是订阅号,订阅号没有权限使用网页授权,详细可参考接口权限:https://developers.weixin.qq.com/doc/offiaccount/Getting_Started/Explanation_of_interface_privileges.html
2:需要已认证的服务号
3:网页授权回调域名填写错误
4:Scope参数顺序不对
5:服务号不支持扫码登录,要网站应用才支持:https://developers.weixin.qq.com/doc/oplatform/Website_App/WeChat_Login/Wechat_Login.html
6:snsapi_userinfo的接口权限被封
Scope 参数错误或没有 Scope 权限
服务号已认证。什么原因?
https://open.weixin.qq.com/connect/qrconnect?appid=wx265cf69cdceb1b8c&redirect_uri=https%3A%2F%2Fqmakesoft.com%2Foauth2%2Fcallback%2Fwechat&response_type=code&scope=snsapi_login&state=632c4e99-4514-4a7d-aee1-e6741c0ca9ef#wechat_redirect