keepassxc-browser
keepassxc-browser copied to clipboard
Default credentials for Autofill with multiple available credentials
There is an autofill setting, when only one entry is available which should be improved to work when multiple logins available
Expected Behavior
Implement intelligent autofill working with multiple logins for the same page.
Current Behavior
Autofill is only working when the option "Autofill when one entry is available" is set and only one entry is available.
Possible Solution
Typically Keepass entries have a history to see when the entry has been used the last time. This information could be used to autofill the login even when multiple logins are available for the same site. In case the history is not available it should be done with A-Z sorting or optimally a "priority or preferred" flag which can be set for the entry which overwrites the history setting.
This would need some custom data history feature to KeePassXC side, and I'm not quite sure how to do that. There should be a separate table for storing each entry with a flag that it has been previously selected. Even if this could be possible to do, entries with multiple URL's could flag more than one entry as "previously selected" when this feature wouldn't work at all, unless the data is stored with the entry and the URL it was being used.
Thinking the complexity of this, I highly doubt it will be implemented.
Ye but it would make the autofill so much more convenient. A simple option would be to create another flag "Autofill with multiple entries (according to entry sort order)" in the settings. When it is set, then autofill uses the sort order of the entry name (not username).
Example: Entry 1) name "google.com - A", user "D" Entry 2) name "google.com - B" user "A"
In this user "D" would be autofilled.
If Auto-Fill is always used with the same credentials for site with multiple credentials, doesn't that make the other credentials unneeded? In this case the most simplest solution would be just disable those other credentials which are no longer used anyway.
In my case I'm working on a page where I need to login multiple times per day. In 90% I use login X but in the other 10% I use login Y or Z. So it would be nice to have autofill set to login X per default without manually choosing it.
Then how would you select login Y or Z if Auto-Fill is always set to X? You would have to disable the Auto-Fill totally every tenth time?
EDIT: What I meant it could not work properly with Auto-Submit enabled.
You can select other entries if you click into the user field or when you click the Keepass XC icon which is displayed next to the user field.
The easiest solution for this would be that the extension remembers the entry UUID per site and keeps a list of it. Anything for KeePassXC side would be too much. Maybe an extra option to Site Preferences.
Would love to see this feature! Perhaps a setting/option for "login frequency" that sorts the list based on most used?
I have many logins for indivdual sites, so a sorting feature like this would be greatly appreciated.