cedarcode / webauthn-rails-demo-app

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

Android Chrome fingerprint not working #68

Closed calh closed 4 years ago

calh commented 5 years ago

I'm not sure where the issue lies, but I'm trying the fingerprint registration with Android 8.0.0, Chrome 72 (and also Beta 73). After stepping through the Security Key wizard steps, the fingerprint recognition is successful, but the dialog disappears and lands back on the same registration web view. Nothing seems to happen and no error messages are shown. The user is registered, but no credentials have been saved.

Let me know if you need more detailed info for a bug report!

grzuy commented 5 years ago

Hi @calh , thanks for the report.

Are you trying with the rails app locally or on the hosted site?

calh commented 5 years ago

I've tried both actually. I had a friend with a pixel 3 (Android 9) try my locally hosted copy and it worked fine. The only different variable is the version of Android. My phone is an older Moto Z.

The behavior for me is the same on both locally hosted and https://webauthn.herokuapp.com

grzuy commented 5 years ago

I see.

Can you please try again with latest master branch version, which should give you an error message instead of just doing nothing?

Hopefully that will give us more insight about what's happening.

calh commented 5 years ago

Hi @grzuy,

I rebased master again on my local app, installed ruby 2.6.1, rebundled, and re-ran the test again with Chrome Beta 73 and still see the same behavior. The thumbprint dialog box disappears and I'm back at the registration form with no error messages.

grzuy commented 4 years ago

Still can't reproduce myself with Chrome on Android.

The thumbprint dialog box disappears and I'm back at the registration form with no error messages.

If you try again now, hopefully you'll get some error message after https://github.com/cedarcode/webauthn-rails-demo-app/pull/109 and https://github.com/cedarcode/webauthn-rails-demo-app/pull/106.

calh commented 4 years ago

Sorry, we can probably close this, especially if you can't recreate it again. The project I was working on a PoC for ended up going in a different direction and not doing fingerprints. Plus I no longer have the phone I used to create the original issue.

I tried a register + log in on the demo site on my newer Android 9 phone and it seemed to work fine.

grzuy commented 4 years ago

Great. Thank you!