Description
Currently, when a user has 2 accounts linked to a URL and has to re-authenticate their 2FA again after it expired, the user has to select their account from the browser extension button. This only happens when the user does not have to fill in their username/password, because usually the account gets filtered from the username/password form and then the TOTP is selected from the account used in the username/password form.
This takes more steps than it should (imo) and the extension also does not make it very clear why the TOTP button is not working in case no account gets selected in the extension button window (except for a small icon change), therefore I suggest moving the account selection for TOTP from the browser extension button to the input field where the TOTP has to be entered into.
Steps to Reproduce (for bugs)
- Have 2 accounts linked to microsoftonline.com / a website, one with a 2FA that expires after 30 mins.
- Log in using username/password, then TOTP will be automatically selected from the account with that combination.
- Wait till 2FA expires.
- Press TOTP button (nothing appears)
- Click on the KeePassXC browser extension button
- Select account
Possible solution
As said, it'd be more convenient and user-friendly if a selection list appeared on the TOTP button the same way a selection list appears when a user tries to fill in username/password and has 2 accounts.
Debug info
Browser: Firefox 109.0.1
Extension version: 1.8.4
Activity