cedarcode / webauthn-rails-demo-app

Rails app demonstrating a WebAuthn password-less login
https://webauthn.cedarcode.com
Apache License 2.0
97 stars 39 forks source link

"This browser doesn't support WebAuthn API" when accessing from VM host #141

Closed tashian closed 6 months ago

tashian commented 6 months ago

I'm running this app inside a VM. When I access it via localhost from inside the VM, it works fine. When I access it from the host, using the VM's DNS name or IP, I get the "This browser doesn't support WebAuthn API" error, no matter which browser I use.

tashian commented 6 months ago

Ah. WebAuthn requires either localhost or https. I needed to set up a server certificate.