scope不能为空 错误代码10010

 

第一种可能


重定向的地址要URLEncode处理一下 scope
=snsapi_base或scope=snsapi_userinfo


第二种可能

原因是我们是单页面应用url自带#/在微信里面认为#号后面的参数不被识别

后端开发人员把参数放到跳转 URL地址前面,正确形式是

 

https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx354283df6c21d57f926382d1c&response_type=code&scope=snsapi_privateinfo&agentid=90&redirect_uri=https://uat.zifkuinfows.com/jdpop/#/&state=STATE#wechat_redirect



相关文章:

  • 2022-02-23
  • 2022-12-23
  • 2021-06-10
  • 2022-01-31
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-28
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
  • 2021-08-22
  • 2021-09-12
相关资源
相似解决方案