指纹认证wx.startSoterAuthentication总是返回90007
- 当前 Bug 的表现(可附上截图)
调用生物认证接口:
wx.startSoterAuthentication({ requestAuthModes: ['fingerPrint'], challenge: '123456', authContent: '请用指纹解锁', success(res) { console.log('指纹成功', res); }, fail(res){ console.log('指纹失败', res); } }) |
但是,总是返回90007错误(在官方的小程序《小程序示例》中调用生物认证也是提示认证失败)
{ authMode: "fingerPrint", resultJSON: "", resultJSONSignature: "", errCode: 90007, errMsg: "startSoterAuthentication:fail auth key update error"} |
附上另外2个接口的返回值情况:
wx.checkIsSupportSoterAuthentication({ success(res) { console.log(res) } }); |
wx.checkIsSoterEnrolledInDevice({ checkAuthMode: 'fingerPrint', success(res) { console.log(res) }}) |
- 预期表现
调用成功,出现指纹输入界面
-
复现路径
-
提供一个最简复现 Demo
查阅微信其他平台的开发文档,对错误说明如下:
不知道有没有也碰到这种情况的,该怎么解决?
