wordpress-mobile / WordPressAuthenticator-iOS

GNU General Public License v2.0
17 stars 11 forks source link

The Security Key option is displayed for an account that does not have a Security Key setup #817

Closed kean closed 9 months ago

kean commented 10 months ago

Setup:

Steps:

Expected Result

The second factor screen does not show "Use a security key" option.

Actual Result

kean commented 10 months ago

Here's another scenario I tested which I believe has the same root cause.

Setup:

Steps:

Expected Result

The login went through.

Actual Result

Ecarrion commented 9 months ago

Hey @kean I tested the steps for your second scenario

Steps: Log in with account A (using password autofill)

  • Use passkey for account B as a second factor (incorrect passkey)
  • See an error message and tap "OK" to navigate back to the login screen
  • Login with account B
  • Use passkeys for account B again (this time it's correct)

And it worked for me with the latest trunk version.

https://github.com/wordpress-mobile/WordPressAuthenticator-iOS/assets/562080/b34b9d2a-f55a-41ab-a547-e3ab4f674759

Steps

Where these the same steps you followed?

kean commented 9 months ago

I also couldn't reproduce it by following these steps using the WP-iOS build from trunk. Maybe it requires some additional steps. I suggest focusing on the original issue as there is likely the same root cause.