yrccondor / wp-webauthn

🔒 WP-WebAuthn allows you to safely login to your WordPress site without password.
https://wordpress.org/plugins/wp-webauthn
GNU General Public License v3.0
123 stars 16 forks source link

Can't add 2 fingerprint authenticator #68

Open Mathijsvdbeek opened 2 months ago

Mathijsvdbeek commented 2 months ago

When I add my MacBook fingerprint it adds perfect. When I delete this and add the iPhone fingerprint it adds perfect. When I add the MacBook or the iPhone when I already have 1 fingerprint I get an error. InvalidStateError: at least one credential matches an entry of the excludeCredentials list in the platform attached authenticator.

I love the plugin and options. Very happy. If this works I can disable the password login :)

My1 commented 2 months ago

the credential likely gets synced via your apple account's keychain.

have you tried just logging in with the other device?

exclude list means your device already has a credential for the site.

Mathijsvdbeek commented 2 months ago

Indeed it is synced. Never thought of that this way. Thanks.

My1 commented 2 months ago

that's the new paradigm which they started with when they started with the term "passkeys".

basically at least on Android as well as on Apple devices the credentials if made accordingly, sync in between that space (it only get anoying when you switch ecosystems)

My1 commented 2 months ago

@yrccondor idea: make the error message state something useful like. "this device already has a credential, try logging in instead", or whatever.