duo-labs / webauthn.io

The source code for webauthn.io, a demonstration of WebAuthn.
https://webauthn.io
BSD 3-Clause "New" or "Revised" License
651 stars 120 forks source link

Registration failed using Android device (Oneplus 9 Pro, Android 13.1, Chrome 119). #111

Closed Jhoscy closed 6 months ago

Jhoscy commented 10 months ago

I don't know why, after scannig the QR code or using the Oneplus 9 Pro directly attached to the Mac, I see from the console that the options for the public key are generated correctly but, after the modal appears (on the smartphone), when it asks for generate a new passkey (I've cleaned all the previous keys in order to not generate inconsistence), when it's the moment for biometric check, on webauth.io (and not only, even in passkeys.io, local test etc) the error:

The operation either timed out or was not allowed. See: https://www.w3.org/TR/webauthn-2/#sctn-privacy-considerations-client.

I've tried to find something to fix this but I cannot find nothing. Does anyone has the same issue even in different context that could help me debug ?

Thanks

Screenshot 2023-11-21 alle 12 48 00
MasterKale commented 10 months ago

Hey @Jhoscy, this may be a problem with Android on your phone...

Can you try again but grab some logs for me?

  1. Head to chrome://device-log/?refresh=1 in your desktop browser
  2. Clear all types but "FIDO" and "Bluetooth"
  3. Go to webauthn.io w/cross-platform attachment
  4. Try to complete registration via QR code with your mobile device
  5. Screenshot/copy the logs from Step 1 and paste them here