生物认证服务器端api调用失败?

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

生物认证服务器api调用失败,返回提示invalid openid hint,但openid是没有问题的。生物认证服务器端api调用是否有特殊要求?

1 回复
qiaolei
qiaolei1 楼4 年前

wx.startSoterAuthentication({

requestAuthModes: [‘fingerPrint’],

challenge: ‘123456’,

authContent: ‘请用指纹解锁’,

complete(res) {

wx.request({

url: ‘’,

data:{

openid:util.getUserinfo.openid,

json: res.resultJSON,

sign:res.resultJSONSignature

},

complete:res=>{

console.log(res)

}

})

}

})

这边检查是没有问题的