WebAuthn icon indicating copy to clipboard operation
WebAuthn copied to clipboard

code failed to work with Thetis Pro-C FIDO2 Security Key Passkey Device

Open prerunr opened this issue 8 months ago • 4 comments

Using your library great success with PC and android mobile with google password manager. So I purchased a Thetis Pro-C FIDO2 Security Key Passkey Device to use. I used the google account and it set a passkey. Then I tried my passkey software in PHP using your library as noted before.

Image

Image

Image

Image

Image

Image

Image

so a fail. My guess is the Thetis is not named in your library so it fails. perhaps it can be added?

prerunr avatar Apr 30 '25 14:04 prerunr

does it work on other sites like https://webauthn.io/ ? FIDO is standardized, so it's not relevant if it's mentioned in the list of authenticators of this library.

lbuchs avatar May 02 '25 08:05 lbuchs

Yes worked fine, also with google. Not with my code and this device using your library. But that library did work fine for PC and android mobile. Tried it again and said it set up the passkey but not when tried to use it. I did get a fleeting message about permissions which I agreed to.

Image

prerunr avatar May 02 '25 10:05 prerunr

Image the message

prerunr avatar May 02 '25 11:05 prerunr

Fixed now writing to the device. added the extra data in the second line to override some defaults in your library. $response = $webauthn->getCreateArgs(\hex2bin($_SESSION['unique_id']), $_SESSION['email'], $_SESSION['email'], $allowUsb=true, $allowNfc=true, $allowBle=true, $allowHybrid=true, $allowInternal=true, $crossPlatformAttachment=true);

prerunr avatar Jun 03 '25 15:06 prerunr