提示错误:前端启用的登录方式:weixin;没有在服务端完成配置。配置文件路径:"/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json"
但我在该文件内已配置:
"mp-weixin": {
"tokenExpiresIn": 259200,
"tokenExpiresThreshold": 86400,
"oauth": {
"weixin": {
"appid": "xxx",
"appsecret": "xxxx"
}
}
}
请问是什么原因?如果客户端loginTypes加入weixin,就需要微信h5、app等登录信息都要配置吗?
3 个回复
DCloud_UNI_Anne
App微信登录需要配置app--》oauth--》weixin 参考文档
virualhealth (作者)
问题解决了,需要添加所有的配置信息,即使没有使用到
a***@jxmhqy.com
在config.json中配置web节点即可。