When autofilling a login in the browser extension, the extension already finds the login by domain matching.
It would be great to also be able to further narrow down the matching depending on what container the current tab belongs to.
For example, I have a “Personal” container, and a “Work” container. Both are logged into their respective personal and work Google accounts.
Right now, I have two Bitwarden logins for these google accounts. But the extension doesn’t understand containers, so it always tries to autofill the personal one, even if I’m in the work container.
I understand that we don’t want to add a specific field just for the Firefox extension, as it doesn’t make sense in other browsers and clients. But we could easily teach the Firefox extension to obey a custom field, if we define what that is.
For example, how about a “Container” or “Firefox Container” text field, where the value is matched against the container in the current tab. If Firefox is not using any containers, it’s ignored. The container name matching could be an exact match to begin with, and we could later extend it to a substring search or a pattern match, if we really need to.