passwordless-id / webauthn

Webauthn / passkeys helper library to make your life easier. Client side, server side and demo included.
https://webauthn.passwordless.id
MIT License
461 stars 54 forks source link

Login hybrid not working #78

Open lil5 opened 1 month ago

lil5 commented 1 month ago

I've tried using the example website to register a passkey but it doesn't work.

Pc: Windows 11 Chrome Android: pixel 8

  1. Open example website on Pc
  2. Click register, enter name
  3. Passkey pop-up: select via android with qrcode, displays qrcode
  4. Phone: scan qrcode
  5. At this point two things happen:
dagnelies commented 1 month ago

Hmmm... It's hard to tell what's going on. That's a generic error from the underlying protocol. Can you successfully register the same devices using the hybrid flow using some other web demo? Honestly, I have a feeling it's a Windows/Android incompatibility issue in this case. Another interesting experiment would be to register directly with your phone and try the hybrid flow from the pc to see if that works. Lastly, is it the default QR scanner or another QR scanner from the playstore?

lil5 commented 1 month ago

This was from a co-workers laptop, give me some time to install windows on a laptop and I'll have some more details then.

The strange thing was that it did work for a different company website (not using passwordless-id).

It wasn't a qrcode issue, default camera app, opened Google Authenticator's passkey native pop-up just fine.