lyokato / WebAuthnKit-iOS

WebAuthn iOS Library
MIT License
102 stars 30 forks source link

requireUserVerification is called twice #16

Closed nielsvanrijn closed 2 years ago

nielsvanrijn commented 2 years ago

The create() and get() require UserVerification to be called twice. So A passcode or FaceID is prompted twice. if it only prompts once askUserToCreateNewCredential stops at with error unknown

It seems that it has something to do with permissions. I think one UserVerification is to allow the use of FaceID(for example) and the next is is the "real" UserVerificaton.

Here is a video of what I mean. It doen't show errors but when I tap register a second time I only get prompted once for UserVerification and askUserToCreateNewCredential stops at with error unknown. https://streamable.com/wtg28y

JaapWijnen commented 2 years ago

Should be fixed by #17