Page MenuHomePhabricator

Mobile login with security key fails
Closed, DuplicatePublicBUG REPORT

Assigned To
None
Authored By
GorillaWarfare
Feb 13 2025, 4:34 PM
Referenced Files
F58395576: login-bug.mp4
Feb 13 2025, 4:45 PM
F58395558: login-bug.mp4
Feb 13 2025, 4:35 PM
F58395557: login-bug.ogg
Feb 13 2025, 4:34 PM

Description

Steps to replicate the issue (include links if applicable):

  • Enable two-factor authentication with a hardware security key
  • Enter username/password on mobile web (Pixel 7, Android v15, Chrome 133.0.6943.89)

What happens?:
After entering the username and password, I'm briefly sent to the prompt asking me to plug in and tap my security key. Before I'm able to do anything, I'm sent to an error page reading "Authentication process was interrupted. Please start the authentication process again." Tapping "reload" only repeats this issue, until ultimately I get a "too many sign-in attempts" error.

What should have happened instead?:
The page should wait for me to plug in my security key and then verify the 2FA.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Authentication process was interrupted. Please start the authentication process again

This likely means that an exception was thrown, because this is the message of the catch condition.

Most likely, this is because hardware security keys are domain specific (T244088). This is one of the known problems of the current 'support' for hardware keys. When we switch to auth.wikimedia.org for all logins/registrations, this should no longer be an issue (if we were to ever reactivate webauthn/hardware key support).