title: webauthn example indicates browser is not supported when cross compiled but works on host machine
body: <p>I am testing a very simple webauthn example written with go from <a href="https://github.com/hbolimovsky/webauthn-example" rel="nofollow noreferrer">https://github.com/hbolimovsky/webauthn-example</a> 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 &quot;browser not supported&quot; error message.</p>
  <p>Clearly the browser is supported since it works on the host machine. The code that checks for browser support is this</p>
  <pre><code>// check whether current browser supports WebAuthn
  if (!window.PublicKeyCredential) {
       alert(&quot;Error: this browser does not support WebAuthn&quot;);
       return;
     }
  </code></pre>
  <p>The cross compiled machine doesn't have internet access though I am highly doubtful that that is the reason. What can be the reason for this?</p>
  <p>I am accessing the cross compiled 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.</p>