admin管理员组文章数量:1025476
I am testing a very simple webauthn example written with go from and it works very well when I build it for the host machine. I am using MacOS Big Sur with Chrome 91. However, if I build the example for an arm7/linux machine, I am getting "browser not supported" error message.
Clearly the browser is supported since it works on the host machine. The code that checks for browser support is this
// check whether current browser supports WebAuthn
if (!window.PublicKeyCredential) {
alert("Error: this browser does not support WebAuthn");
return;
}
The cross piled machine doesn't have internet access though I am highly doubtful that that is the reason. What can be the reason for this?
I am accessing the cross piled machine through it's IP address. Can that be the reason? To test this I accessed it through it's bonjour name and that didn't make a difference.
I am testing a very simple webauthn example written with go from https://github./hbolimovsky/webauthn-example and it works very well when I build it for the host machine. I am using MacOS Big Sur with Chrome 91. However, if I build the example for an arm7/linux machine, I am getting "browser not supported" error message.
Clearly the browser is supported since it works on the host machine. The code that checks for browser support is this
// check whether current browser supports WebAuthn
if (!window.PublicKeyCredential) {
alert("Error: this browser does not support WebAuthn");
return;
}
The cross piled machine doesn't have internet access though I am highly doubtful that that is the reason. What can be the reason for this?
I am accessing the cross piled machine through it's IP address. Can that be the reason? To test this I accessed it through it's bonjour name and that didn't make a difference.
Share Improve this question edited Jun 18, 2021 at 7:27 Umut asked Jun 18, 2021 at 7:03 UmutUmut 2,5273 gold badges21 silver badges20 bronze badges1 Answer
Reset to default 7How do you access your linux/arm machine with your browser? WebAuthn only works in a secure context, http://localhost or https://anywhereelse that is...
I am testing a very simple webauthn example written with go from and it works very well when I build it for the host machine. I am using MacOS Big Sur with Chrome 91. However, if I build the example for an arm7/linux machine, I am getting "browser not supported" error message.
Clearly the browser is supported since it works on the host machine. The code that checks for browser support is this
// check whether current browser supports WebAuthn
if (!window.PublicKeyCredential) {
alert("Error: this browser does not support WebAuthn");
return;
}
The cross piled machine doesn't have internet access though I am highly doubtful that that is the reason. What can be the reason for this?
I am accessing the cross piled machine through it's IP address. Can that be the reason? To test this I accessed it through it's bonjour name and that didn't make a difference.
I am testing a very simple webauthn example written with go from https://github./hbolimovsky/webauthn-example and it works very well when I build it for the host machine. I am using MacOS Big Sur with Chrome 91. However, if I build the example for an arm7/linux machine, I am getting "browser not supported" error message.
Clearly the browser is supported since it works on the host machine. The code that checks for browser support is this
// check whether current browser supports WebAuthn
if (!window.PublicKeyCredential) {
alert("Error: this browser does not support WebAuthn");
return;
}
The cross piled machine doesn't have internet access though I am highly doubtful that that is the reason. What can be the reason for this?
I am accessing the cross piled machine through it's IP address. Can that be the reason? To test this I accessed it through it's bonjour name and that didn't make a difference.
Share Improve this question edited Jun 18, 2021 at 7:27 Umut asked Jun 18, 2021 at 7:03 UmutUmut 2,5273 gold badges21 silver badges20 bronze badges1 Answer
Reset to default 7How do you access your linux/arm machine with your browser? WebAuthn only works in a secure context, http://localhost or https://anywhereelse that is...
本文标签:
版权声明:本文标题:javascript - webauthn example indicates browser is not supported when cross compiled but works on host machine - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745612345a2159079.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论