Joa*_*ira 6 credential-manager firefox-nightly webauthn
尝试在 Firefox Nightly 下运行可用的 webautn 规范 ( https://www.w3.org/TR/webauthn/ )演示( https://github.com/molekilla/webauthn-demo-fork )。
getMakeCredentialsChallenge({
username,
name
})
.then((response) => {
console.log(response);
let publicKey = preformatMakeCredReq(response);
console.log(publicKey);
console.log(publicKey.challenge)
return navigator.credentials.create({publicKey})
})
Run Code Online (Sandbox Code Playgroud)
每当执行到达 return 语句时,Promise 将保持挂起状态几秒钟,并最终拒绝,记录[Exception... "Abort" nsresult: "0x80004004 (NS_ERROR_ABORT)" location: "<unknown>" data: no]或UnknownError: The operation failed for an unknown transient reason。这两个对象看起来都很好。知道它没有解决的原因吗?
| 归档时间: |
|
| 查看次数: |
757 次 |
| 最近记录: |